mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-07-15 03:04:25 +08:00
de
This commit is contained in:
@ -1 +1 @@
|
||||
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"0.0.5","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
||||
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0.6","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
BIN
app-release.apk
Normal file
BIN
app-release.apk
Normal file
Binary file not shown.
@ -79,21 +79,21 @@ class _MyAppState extends State<MyApp> {
|
||||
}
|
||||
|
||||
showWelcomePage() {
|
||||
if (_isLoading) {
|
||||
return Container(
|
||||
color: const Color(ThemeColor),
|
||||
child: Center(
|
||||
child: SpinKitPouringHourglass(color: Colors.white),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
// 判断是否已经登录
|
||||
if (_hasLogin) {
|
||||
// if (_isLoading) {
|
||||
// return Container(
|
||||
// color: const Color(ThemeColor),
|
||||
// child: Center(
|
||||
// child: SpinKitPouringHourglass(color: Colors.white),
|
||||
// ),
|
||||
// );
|
||||
// } else {
|
||||
// // 判断是否已经登录
|
||||
// if (_hasLogin) {
|
||||
return AppPage();
|
||||
} else {
|
||||
return LoginPage();
|
||||
}
|
||||
}
|
||||
// } else {
|
||||
// return LoginPage();
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -42,7 +42,7 @@ class _MyHomePageState extends State<AppPage>
|
||||
List<Widget> list = List();
|
||||
int _currentIndex = 0;
|
||||
static List tabData = [
|
||||
{'text': '业界动态', 'icon': Icon(Icons.language)},
|
||||
// {'text': '业界动态', 'icon': Icon(Icons.language)},
|
||||
{'text': 'WIDGET', 'icon': Icon(Icons.extension)},
|
||||
{'text': '组件收藏', 'icon': Icon(Icons.favorite)},
|
||||
{'text': '关于手册', 'icon': Icon(Icons.import_contacts)},
|
||||
@ -64,7 +64,7 @@ class _MyHomePageState extends State<AppPage>
|
||||
}
|
||||
list
|
||||
// ..add(FirstPage())
|
||||
..add(MainPage())
|
||||
// ..add(MainPage())
|
||||
..add(WidgetPage(Provider.db))
|
||||
..add(CollectionPage())
|
||||
..add(FourthPage());
|
||||
@ -120,10 +120,10 @@ class _MyHomePageState extends State<AppPage>
|
||||
}
|
||||
|
||||
renderAppBar(BuildContext context, Widget widget, int index) {
|
||||
print('renderAppBar=====>>>>>>${index}');
|
||||
if (index == 0) {
|
||||
return null;
|
||||
}
|
||||
// print('renderAppBar=====>>>>>>${index}');
|
||||
// if (index == 0) {
|
||||
// return null;
|
||||
// }
|
||||
return AppBar(title: buildSearchInput(context));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user