BaseTabPage constructor

const BaseTabPage({
  1. Key? key,
  2. double? tabBarHeight,
  3. int initialIndex = 0,
  4. bool isScrollable = false,
  5. Decoration? indicator,
  6. Color? indicatorColor,
  7. TabBarIndicatorSize? indicatorSize,
  8. EdgeInsetsGeometry? labelPadding,
  9. TextStyle? labelStyle,
  10. TextStyle? unselectedLabelStyle,
  11. ScrollPhysics? physics,
  12. Widget divider = const Divider(height: 1),
  13. required List<Widget> tabs,
  14. required List<Widget> children,
  15. Color backgroundColor = Colors.white,
  16. Color? labelColor,
  17. 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,
});