PersistentBottomNavBar icon indicating copy to clipboard operation
PersistentBottomNavBar copied to clipboard

custom persistent tab view greyed out

Open RommyChristensen opened this issue 3 years ago • 0 comments

Im having trouble when i build my apk. Im using custom persisten tab view. The bottom navigation bar is colored grey and has no icon

PersistentTabView.custom( context, controller: _controller, itemCount: listMenu .length, // This is required in case of custom style! Pass the number of items for the nav bar. screens: _buildScreen(), confineInSafeArea: true, handleAndroidBackButtonPress: true, // baru resizeToAvoidBottomInset: true, // This needs to be true if you want to move up the screen when keyboard appears. Default is true. stateManagement: true, // Default is true. // baru hideNavigationBarWhenKeyboardShows: true, // baru customWidget: CustomNavBarWidget( // Your custom widget goes here items: _buildNavItems(), selectedIndex: _controller.index, onItemSelected: (index) { setState(() { _controller.index = index; // NOTE: THIS IS CRITICAL!! Don't miss it! _appBarText = listMenu[index]; }); }, ), ),

Screenshot at May 17 14-24-22

RommyChristensen avatar May 17 '22 07:05 RommyChristensen