BaseCrossPlatformTabScaffold constructor
const
BaseCrossPlatformTabScaffold({
- Key? key,
- required List<
BottomNavigationBarItem> tabs, - required IndexedWidgetBuilder tabBuilder,
- CupertinoTabController? controller,
- Color? backgroundColor,
- bool resizeToAvoidBottomInset = true,
- BaseAppBar? appBar,
- int currentIndex = 0,
- ValueChanged<
int> ? onTap, - BottomNavigationBarType type = BottomNavigationBarType.fixed,
- Color? selectedItemColor,
- Color? unselectedItemColor,
- double selectedFontSize = 14.0,
- double unselectedFontSize = 12.0,
- double iconSize = 24.0,
- double? elevation,
- bool showSelectedLabels = true,
- bool showUnselectedLabels = true,
- Color? activeColor,
- Color? inactiveColor,
- Border? border,
- double tabBarHeight = 50.0,
- 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);