全部应用

pull/1/head
王亚玲 2 years ago
parent f70e6cca9f
commit 87739c3e23

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

@ -1,3 +1,4 @@
import 'package:aku_new_community/ui/home/application/all_application_new.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart'; import 'package:bot_toast/bot_toast.dart';
@ -142,13 +143,14 @@ class _TabNavigatorState extends State<TabNavigator>
Expanded( Expanded(
child: GestureDetector( child: GestureDetector(
onTap: () { onTap: () {
if (UserTool.userProvider.isLogin == false) { Get.to(() => AllApplicationNewPage());
// // if (UserTool.userProvider.isLogin == false) {
Get.offAll(() => OtherLoginPage()); // //
} else {} // Get.offAll(() => OtherLoginPage());
_tabController!.animateTo(2, curve: Curves.easeInOutCubic); // } else {}
_currentIndex = 2; // _tabController!.animateTo(2, curve: Curves.easeInOutCubic);
setState(() {}); // _currentIndex = 2;
// setState(() {});
}, },
child: Material( child: Material(
color: Colors.transparent, color: Colors.transparent,
@ -181,8 +183,7 @@ class _TabNavigatorState extends State<TabNavigator>
4, 4,
), ),
]; ];
return return BeeScaffold(
BeeScaffold(
body: WillPopScope( body: WillPopScope(
onWillPop: () async { onWillPop: () async {
if (_lastPressed == null || if (_lastPressed == null ||

Loading…
Cancel
Save