BottomNavigationBarCustom constructor
const
BottomNavigationBarCustom({
- required int totalScreen,
- required List<
Widget> screens, - Widget? floatingActionButton,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- List<
Widget> actions = const <Widget>[], - List<
Widget> ? titleAppbar, - Widget? drawer,
- Color? backgroundColor,
- Widget? imageLogoBuilder,
- IconThemeData? selectedItemTheme,
- IconThemeData? unSelectedItemTheme,
- TextStyle? selectedLabelStyle,
- TextStyle? unSelectedLabelStyle,
- double selectedFontSize = 14.0,
- Color selectedItemsColor = Colors.white,
- Color unselectedItemsColor = Colors.white70,
- bool showAppbar = false,
- bool showUnselectedLabels = false,
- bool showSelectedLabels = true,
Implementation
const BottomNavigationBarCustom({
required this.totalScreen,
required this.titleBottomNavigation,
required this.iconBottomNavigation,
required this.screens,
this.floatingActionButton,
this.floatingActionButtonAnimator,
this.floatingActionButtonLocation,
this.actions = const <Widget>[],
this.titleAppbar,
this.drawer,
this.backgroundColor,
this.imageLogoBuilder,
this.selectedItemTheme,
this.unSelectedItemTheme,
this.selectedLabelStyle,
this.unSelectedLabelStyle,
this.selectedFontSize = 14.0,
this.selectedItemsColor = Colors.white,
this.unselectedItemsColor = Colors.white70,
this.showAppbar = false,
this.showUnselectedLabels = false,
this.showSelectedLabels = true,
}) : assert(totalScreen > 1 && totalScreen <= 5);