BartBottomBar.material3 constructor

BartBottomBar.material3({
  1. Duration? animationDuration,
  2. NavigationDestinationLabelBehavior? labelBehavior,
  3. double? elevation,
  4. Color? bgColor,
  5. double? height,
  6. bool enableHapticFeedback = true,
  7. int index = 0,
})

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