TabBarTheme constructor

const TabBarTheme(
  1. {Decoration? indicator,
  2. Color? indicatorColor,
  3. TabBarIndicatorSize? indicatorSize,
  4. Color? dividerColor,
  5. double? dividerHeight,
  6. Color? labelColor,
  7. EdgeInsetsGeometry? labelPadding,
  8. TextStyle? labelStyle,
  9. Color? unselectedLabelColor,
  10. TextStyle? unselectedLabelStyle,
  11. MaterialStateProperty<Color?>? overlayColor,
  12. InteractiveInkFeatureFactory? splashFactory,
  13. MaterialStateProperty<MouseCursor?>? mouseCursor,
  14. TabAlignment? tabAlignment}
)

Creates a tab bar theme that can be used with ThemeData.tabBarTheme.

Implementation

const TabBarTheme({
  this.indicator,
  this.indicatorColor,
  this.indicatorSize,
  this.dividerColor,
  this.dividerHeight,
  this.labelColor,
  this.labelPadding,
  this.labelStyle,
  this.unselectedLabelColor,
  this.unselectedLabelStyle,
  this.overlayColor,
  this.splashFactory,
  this.mouseCursor,
  this.tabAlignment,
});