TabBarProperties constructor

const TabBarProperties({
  1. double? width,
  2. double height = kToolbarHeight,
  3. Container? background,
  4. TabBarPosition position = TabBarPosition.top,
  5. TabBarAlignment alignment = TabBarAlignment.center,
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
  7. EdgeInsetsGeometry margin = const EdgeInsets.all(0.0),
  8. Decoration? indicator,
  9. Color? indicatorColor,
  10. EdgeInsetsGeometry indicatorPadding = const EdgeInsets.all(0.0),
  11. TabBarIndicatorSize? indicatorSize,
  12. double indicatorWeight = 2.0,
  13. bool isScrollable = false,
  14. Color? labelColor,
  15. EdgeInsetsGeometry labelPadding = const EdgeInsets.all(0.0),
  16. TextStyle? labelStyle,
  17. Color? unselectedLabelColor,
  18. 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,
});