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]; }); }, ), ),
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]; }); }, ), ),