BaseTabPage constructor
const
BaseTabPage({
- Key? key,
- double? tabBarHeight,
- int initialIndex = 0,
- bool isScrollable = false,
- Decoration? indicator,
- Color? indicatorColor,
- TabBarIndicatorSize? indicatorSize,
- EdgeInsetsGeometry? labelPadding,
- TextStyle? labelStyle,
- TextStyle? unselectedLabelStyle,
- ScrollPhysics? physics,
- Widget divider = const Divider(height: 1),
- required List<
Widget> tabs, - required List<
Widget> children, - Color backgroundColor = Colors.white,
- Color? labelColor,
- Color? unselectedLabelColor,
Implementation
const BaseTabPage({
super.key,
this.tabBarHeight,
this.initialIndex = 0,
this.isScrollable = false,
this.indicator,
this.indicatorColor,
this.indicatorSize,
this.labelPadding,
this.labelStyle,
this.unselectedLabelStyle,
this.physics,
this.divider = const Divider(height: 1),
required this.tabs,
required this.children,
this.backgroundColor = Colors.white,
this.labelColor,
this.unselectedLabelColor,
});