|
|
|
@ -14,11 +14,11 @@ class HomePage extends GetView<HomeController> {
|
|
|
|
|
selectedIndex: controller.selectedIndex.value, |
|
|
|
|
onDestinationSelected: controller.changeIndex, // 回调控制状态更新 |
|
|
|
|
destinations: const [ |
|
|
|
|
NavigationDestination( |
|
|
|
|
icon: Icon(Icons.home_outlined), |
|
|
|
|
selectedIcon: Icon(Icons.home), |
|
|
|
|
label: '首页', |
|
|
|
|
), |
|
|
|
|
// NavigationDestination( |
|
|
|
|
// icon: Icon(Icons.home_outlined), |
|
|
|
|
// selectedIcon: Icon(Icons.home), |
|
|
|
|
// label: '首页', |
|
|
|
|
// ), |
|
|
|
|
NavigationDestination( |
|
|
|
|
icon: Icon(Icons.description_outlined), |
|
|
|
|
selectedIcon: Icon(Icons.description), |
|
|
|
|