BartBottomBar.cupertino constructor

BartBottomBar.cupertino({
  1. Color? bgColor,
  2. Color? selectedItemColor,
  3. Color? unselectedItemColor,
  4. BottomNavigationBarType? type,
  5. double iconSize = 24,
  6. double? height,
  7. Border? border,
  8. bool enableHapticFeedback = true,
  9. int index = 0,
})

Implementation

factory BartBottomBar.cupertino({
  Color? bgColor,
  Color? selectedItemColor,
  Color? unselectedItemColor,
  BottomNavigationBarType? type,
  double iconSize = 24,
  double? height,
  Border? border,
  bool enableHapticFeedback = true,
  int index = 0,
}) =>
    BartBottomBar._(
      bottomBarTheme: CupertinoBottomBarTheme().copyWith(
        bgColor: bgColor,
        selectedItemColor: selectedItemColor,
        unselectedItemColor: unselectedItemColor,
        type: type,
        iconSize: iconSize,
        height: height,
        border: border,
      ),
      enableHapticFeedback: enableHapticFeedback,
      theme: Theme.cupertino,
      currentIndex: index,
    );