TabBar constructor
const
TabBar({
- Key? key,
- required List<
Tab> tabs, - TabController? controller,
- Color? indicatorColor,
- Color? labelColor,
- Color? unselectedLabelColor,
- TextStyle? labelStyle,
- TextStyle? unselectedLabelStyle,
- EdgeInsets? labelPadding,
- ValueChanged<
int> ? onTap, - FocusNode? focusNode,
Creates a TabBar with the given tabs.
Implementation
const TabBar({
super.key,
required this.tabs,
this.controller,
this.indicatorColor,
this.labelColor,
this.unselectedLabelColor,
this.labelStyle,
this.unselectedLabelStyle,
this.labelPadding,
this.onTap,
this.focusNode,
});