BartBottomBar.material3 constructor
BartBottomBar.material3({})
Implementation
factory BartBottomBar.material3({
Duration? animationDuration,
NavigationDestinationLabelBehavior? labelBehavior,
double? elevation,
Color? bgColor,
double? height,
bool enableHapticFeedback = true,
int index = 0,
}) =>
BartBottomBar._(
enableHapticFeedback: enableHapticFeedback,
bottomBarTheme: Material3BottomBarTheme().copyWith(
animationDuration: animationDuration,
labelBehavior: labelBehavior,
elevation: elevation,
bgColor: bgColor,
height: height,
),
theme: Theme.material3,
currentIndex: index,
);