bottomNavigationBar method

BottomNavigationBar bottomNavigationBar({
  1. void onTap(
    1. int
    )?,
  2. int currentIndex = 0,
  3. double? elevation,
  4. BottomNavigationBarType? type,
  5. Color? fixedColor,
  6. Color? backgroundColor,
  7. double iconSize = 24.0,
  8. Color? selectedItemColor,
  9. Color? unselectedItemColor,
  10. IconThemeData? selectedIconTheme,
  11. IconThemeData? unselectedIconTheme,
  12. double selectedFontSize = 14.0,
  13. double unselectedFontSize = 12.0,
  14. TextStyle? selectedLabelStyle,
  15. TextStyle? unselectedLabelStyle,
  16. bool? showSelectedLabels,
  17. bool? showUnselectedLabels,
  18. MouseCursor? mouseCursor,
  19. bool? enableFeedback,
  20. BottomNavigationBarLandscapeLayout? landscapeLayout,
  21. bool useLegacyColorScheme = true,
})

Implementation

BottomNavigationBar bottomNavigationBar({
  void Function(int)? onTap,
  int currentIndex = 0,
  double? elevation,
  BottomNavigationBarType? type,
  Color? fixedColor,
  Color? backgroundColor,
  double iconSize = 24.0,
  Color? selectedItemColor,
  Color? unselectedItemColor,
  IconThemeData? selectedIconTheme,
  IconThemeData? unselectedIconTheme,
  double selectedFontSize = 14.0,
  double unselectedFontSize = 12.0,
  TextStyle? selectedLabelStyle,
  TextStyle? unselectedLabelStyle,
  bool? showSelectedLabels,
  bool? showUnselectedLabels,
  MouseCursor? mouseCursor,
  bool? enableFeedback,
  BottomNavigationBarLandscapeLayout? landscapeLayout,
  bool useLegacyColorScheme = true,
}) =>
    BottomNavigationBar(
      items: this,
      onTap: onTap,
      currentIndex: currentIndex,
      elevation: elevation,
      type: type,
      fixedColor: fixedColor,
      backgroundColor: backgroundColor,
      iconSize: iconSize,
      selectedItemColor: selectedItemColor,
      unselectedItemColor: unselectedItemColor,
      selectedIconTheme: selectedIconTheme,
      unselectedIconTheme: unselectedIconTheme,
      selectedLabelStyle: selectedLabelStyle,
      unselectedLabelStyle: unselectedLabelStyle,
      showSelectedLabels: showSelectedLabels,
      showUnselectedLabels: showUnselectedLabels,
      mouseCursor: mouseCursor,
      enableFeedback: enableFeedback,
      landscapeLayout: landscapeLayout,
      useLegacyColorScheme: useLegacyColorScheme,
    );