This commit is contained in:
xj.deng
2019-05-23 11:03:50 +08:00
parent 56d8bad918
commit 969288c886
4 changed files with 21 additions and 21 deletions

View File

@ -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

Binary file not shown.

View File

@ -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

View File

@ -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));
}