TabBarFastor constructor
TabBarFastor({
- required double width,
- required double height,
- required List<
String> names, - required Color indicatorColor,
- required Color unselectedLabelColor,
- required TabBarPressedFastor pressed,
- int? initialSelectIndex,
- double? fontSize,
- String? fontFamily,
- double? spaceBetweenLabelAndUnderline,
- Decoration? decorationTabBar,
- double? heightUnderline,
- bool? underlineShownBelowAllTabs,
Implementation
TabBarFastor( {
required this.width,
required this.height,
required this.names,
required this.indicatorColor,
required this.unselectedLabelColor,
required this.pressed,
this.initialSelectIndex,
this.fontSize,
this.fontFamily,
this.spaceBetweenLabelAndUnderline,
this.decorationTabBar,
this.heightUnderline,
this.underlineShownBelowAllTabs
}) {
calculateItemTabWidth();
initDefaultValue();
}