更新微信登录
This commit is contained in:
@@ -155,14 +155,14 @@ class MainPageBottomChange extends GetView<MainPageController> {
|
||||
),
|
||||
child: Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
body: arr[controller.model.currentIndex],
|
||||
// body: IndexedStack(
|
||||
// // ✅ 改成 IndexedStack
|
||||
// index: controller.model.currentIndex,
|
||||
// children: arr
|
||||
// .map((page) => SizedBox.expand(child: page))
|
||||
// .toList(),
|
||||
// ),
|
||||
// body: arr[controller.model.currentIndex],
|
||||
body: IndexedStack(
|
||||
// ✅ 改成 IndexedStack
|
||||
index: controller.model.currentIndex,
|
||||
children: arr
|
||||
.map((page) => SizedBox.expand(child: page))
|
||||
.toList(),
|
||||
),
|
||||
floatingActionButtonAnimator:
|
||||
FloatingActionButtonAnimator.noAnimation,
|
||||
floatingActionButtonLocation:
|
||||
|
||||
Reference in New Issue
Block a user