mod: 首页tab配置

This commit is contained in:
guozhigq
2023-08-11 17:32:16 +08:00
parent c55887af53
commit 5bf906b278
6 changed files with 92 additions and 90 deletions

View File

@ -142,7 +142,8 @@ class _MainAppState extends State<MainApp> with SingleTickerProviderStateMixin {
currentIndex: selectedIndex,
// type: BottomNavigationBarType.shifting,
selectedItemColor: Theme.of(context).colorScheme.primary,
unselectedItemColor: Theme.of(context).colorScheme.outline,
unselectedItemColor:
Theme.of(context).colorScheme.outline.withOpacity(0.5),
selectedFontSize: 12.4,
onTap: (value) => setIndex(value),
items: [