BartMaterialBottomBar constructor
BartMaterialBottomBar({
- required List<
BartMenuRoute> routes, - required BottonBarTapAction onTap,
- required int currentIndex,
- double? elevation,
- Color? bgColor,
- Color? selectedItemColor,
- Color? unselectedItemColor,
- BottomNavigationBarType? type,
- IconThemeData? iconThemeData,
- double selectedFontSize = 14.0,
- double unselectedFontSize = 12.0,
- double iconSize = 24,
Implementation
BartMaterialBottomBar({
required this.routes,
required this.onTap,
required this.currentIndex,
this.elevation,
this.bgColor,
this.selectedItemColor,
this.unselectedItemColor,
this.type,
this.iconThemeData,
this.selectedFontSize = 14.0,
this.unselectedFontSize = 12.0,
this.iconSize = 24,
});