BaseTabPage constructor

const BaseTabPage({
  1. Key? key,
  2. int initialIndex = 0,
  3. bool isScrollable = false,
  4. Color? indicatorColor,
  5. TextStyle labelStyle = const TextStyle(fontWeight: FontWeight.normal),
  6. Widget divider = const Divider(height: 1),
  7. required List<Widget> tabs,
  8. required List<Widget> children,
  9. Color backgroundColor = Colors.white,
  10. Color? labelColor,
  11. Color? unselectedLabelColor,
})

Implementation

const BaseTabPage({
  Key? key,
  this.initialIndex = 0,
  this.isScrollable = false,
  this.indicatorColor,
  this.labelStyle = const TextStyle(fontWeight: FontWeight.normal),
  this.divider = const Divider(height: 1),
  required this.tabs,
  required this.children,
  this.backgroundColor = Colors.white,
  this.labelColor,
  this.unselectedLabelColor,
}) : super(key: key);