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() {
|
showWelcomePage() {
|
||||||
if (_isLoading) {
|
// if (_isLoading) {
|
||||||
return Container(
|
// return Container(
|
||||||
color: const Color(ThemeColor),
|
// color: const Color(ThemeColor),
|
||||||
child: Center(
|
// child: Center(
|
||||||
child: SpinKitPouringHourglass(color: Colors.white),
|
// child: SpinKitPouringHourglass(color: Colors.white),
|
||||||
),
|
// ),
|
||||||
);
|
// );
|
||||||
} else {
|
// } else {
|
||||||
// 判断是否已经登录
|
// // 判断是否已经登录
|
||||||
if (_hasLogin) {
|
// if (_hasLogin) {
|
||||||
return AppPage();
|
return AppPage();
|
||||||
} else {
|
// } else {
|
||||||
return LoginPage();
|
// return LoginPage();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -42,7 +42,7 @@ class _MyHomePageState extends State<AppPage>
|
|||||||
List<Widget> list = List();
|
List<Widget> list = List();
|
||||||
int _currentIndex = 0;
|
int _currentIndex = 0;
|
||||||
static List tabData = [
|
static List tabData = [
|
||||||
{'text': '业界动态', 'icon': Icon(Icons.language)},
|
// {'text': '业界动态', 'icon': Icon(Icons.language)},
|
||||||
{'text': 'WIDGET', 'icon': Icon(Icons.extension)},
|
{'text': 'WIDGET', 'icon': Icon(Icons.extension)},
|
||||||
{'text': '组件收藏', 'icon': Icon(Icons.favorite)},
|
{'text': '组件收藏', 'icon': Icon(Icons.favorite)},
|
||||||
{'text': '关于手册', 'icon': Icon(Icons.import_contacts)},
|
{'text': '关于手册', 'icon': Icon(Icons.import_contacts)},
|
||||||
@ -64,7 +64,7 @@ class _MyHomePageState extends State<AppPage>
|
|||||||
}
|
}
|
||||||
list
|
list
|
||||||
// ..add(FirstPage())
|
// ..add(FirstPage())
|
||||||
..add(MainPage())
|
// ..add(MainPage())
|
||||||
..add(WidgetPage(Provider.db))
|
..add(WidgetPage(Provider.db))
|
||||||
..add(CollectionPage())
|
..add(CollectionPage())
|
||||||
..add(FourthPage());
|
..add(FourthPage());
|
||||||
@ -120,10 +120,10 @@ class _MyHomePageState extends State<AppPage>
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderAppBar(BuildContext context, Widget widget, int index) {
|
renderAppBar(BuildContext context, Widget widget, int index) {
|
||||||
print('renderAppBar=====>>>>>>${index}');
|
// print('renderAppBar=====>>>>>>${index}');
|
||||||
if (index == 0) {
|
// if (index == 0) {
|
||||||
return null;
|
// return null;
|
||||||
}
|
// }
|
||||||
return AppBar(title: buildSearchInput(context));
|
return AppBar(title: buildSearchInput(context));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user