Closed yanashenyang closed 9 months ago
Could you provide more details regarding the issue you're facing? Also, have you tried using SafeArea? (If the link doesn't work in China, try this one https://pythonjishu.com/ubgwxmweemjdnir/ and https://www.jianshu.com/p/48532989fd3c.
bottomNavigationBar: SafeArea( child: BottomBar( selectedIndex: _currentPage, onTap: (int index) { _pageController.jumpToPage(index); setState(() => _currentPage = index); }, items: <BottomBarItem>[ BottomBarItem( icon: Icon(Icons.home), title: Text('Home'), activeColor: Colors.blue, ), BottomBarItem( icon: Icon(Icons.favorite), title: Text('Favorites'), activeColor: Colors.red, ), ], ), ),
Closing inactive issue.
Could you provide more details regarding the issue you're facing? Also, have you tried using SafeArea? (If the link doesn't work in China, try this one https://pythonjishu.com/ubgwxmweemjdnir/ and https://www.jianshu.com/p/48532989fd3c.