TabBarProperties constructor
const
TabBarProperties({
- double? width,
- double height = kToolbarHeight,
- Container? background,
- TabBarPosition position = TabBarPosition.top,
- TabBarAlignment alignment = TabBarAlignment.center,
- EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
- EdgeInsetsGeometry margin = const EdgeInsets.all(0.0),
- Decoration? indicator,
- Color? indicatorColor,
- EdgeInsetsGeometry indicatorPadding = const EdgeInsets.all(0.0),
- TabBarIndicatorSize? indicatorSize,
- double indicatorWeight = 2.0,
- bool isScrollable = false,
- Color? labelColor,
- EdgeInsetsGeometry labelPadding = const EdgeInsets.all(0.0),
- TextStyle? labelStyle,
- Color? unselectedLabelColor,
- TextStyle? unselectedLabelStyle,
Implementation
const TabBarProperties({
this.width,
this.height = kToolbarHeight,
this.background,
this.position = TabBarPosition.top,
this.alignment = TabBarAlignment.center,
this.padding = const EdgeInsets.all(0.0),
this.margin = const EdgeInsets.all(0.0),
this.indicator,
this.indicatorColor,
this.indicatorPadding = const EdgeInsets.all(0.0),
this.indicatorSize,
this.indicatorWeight = 2.0,
this.isScrollable = false,
this.labelColor,
this.labelPadding = const EdgeInsets.all(0.0),
this.labelStyle,
this.unselectedLabelColor,
this.unselectedLabelStyle,
});