BaseCrossPlatformTabScaffold constructor

const BaseCrossPlatformTabScaffold({
  1. Key? key,
  2. required List<BottomNavigationBarItem> tabs,
  3. required IndexedWidgetBuilder tabBuilder,
  4. CupertinoTabController? controller,
  5. Color? backgroundColor,
  6. bool resizeToAvoidBottomInset = true,
  7. BaseAppBar? appBar,
  8. int currentIndex = 0,
  9. ValueChanged<int>? onTap,
  10. BottomNavigationBarType type = BottomNavigationBarType.fixed,
  11. Color? selectedItemColor,
  12. Color? unselectedItemColor,
  13. double selectedFontSize = 14.0,
  14. double unselectedFontSize = 12.0,
  15. double iconSize = 24.0,
  16. double? elevation,
  17. bool showSelectedLabels = true,
  18. bool showUnselectedLabels = true,
  19. Color? activeColor,
  20. Color? inactiveColor,
  21. Border? border,
  22. double tabBarHeight = 50.0,
  23. BaseParam? baseParam,
})

Implementation

const BaseCrossPlatformTabScaffold({
  Key? key,
  required this.tabs,
  required this.tabBuilder,
  this.controller,
  this.backgroundColor,
  this.resizeToAvoidBottomInset = true,
  this.appBar,
  // Tab bar properties
  this.currentIndex = 0,
  this.onTap,
  this.type = BottomNavigationBarType.fixed,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.selectedFontSize = 14.0,
  this.unselectedFontSize = 12.0,
  this.iconSize = 24.0,
  this.elevation,
  this.showSelectedLabels = true,
  this.showUnselectedLabels = true,
  // Cupertino specific
  this.activeColor,
  this.inactiveColor,
  this.border,
  this.tabBarHeight = 50.0,
  BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);