BaseTabPage constructor
const
BaseTabPage({
- Key? key,
- int initialIndex = 0,
- bool isScrollable = false,
- Color? indicatorColor,
- TextStyle labelStyle = const TextStyle(fontWeight: FontWeight.normal),
- 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({
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);