TabBar constructor
const
TabBar({
- Key? key,
- required List<
Tab> tabs, - TabController? controller,
- Color? indicatorColor,
- double indicatorWeight = 2.0,
- EdgeInsetsGeometry? labelPadding,
- TextStyle? labelStyle,
- TextStyle? unselectedLabelStyle,
- Color? labelColor,
- Color? unselectedLabelColor,
- bool isScrollable = false,
- Decoration? indicator,
- TabAlignment? tabAlignment = TabAlignment.start,
Implementation
const TabBar(
{super.key,
required this.tabs,
this.controller,
this.indicatorColor,
this.indicatorWeight = 2.0,
this.labelPadding,
this.labelStyle,
this.unselectedLabelStyle,
this.labelColor,
this.unselectedLabelColor,
this.isScrollable = false,
this.indicator,
this.tabAlignment = TabAlignment.start});