BartBottomBar.material constructor
BartBottomBar.material({
- double? elevation,
- Color? bgColor,
- Color? selectedItemColor,
- Color? unselectedItemColor,
- BottomNavigationBarType? type,
- IconThemeData? iconThemeData,
- double selectedFontSize = 14.0,
- double unselectedFontSize = 12.0,
- double iconSize = 24,
- int index = 0,
Implementation
factory BartBottomBar.material(
{double? elevation,
Color? bgColor,
Color? selectedItemColor,
Color? unselectedItemColor,
BottomNavigationBarType? type,
IconThemeData? iconThemeData,
double selectedFontSize = 14.0,
double unselectedFontSize = 12.0,
double iconSize = 24,
int index = 0}) =>
BartBottomBar._(
bottomBarFactory: BartMaterialBottomBar.bottomBarFactory,
elevation: elevation,
bgColor: bgColor,
selectedItemColor: selectedItemColor,
unselectedItemColor: unselectedItemColor,
type: type,
iconThemeData: iconThemeData,
selectedFontSize: selectedFontSize,
unselectedFontSize: unselectedFontSize,
iconSize: iconSize,
currentIndex: ValueNotifier(index),
);