TabBarTheme constructor Null safety

const TabBarTheme(
  1. {Decoration? indicator,
  2. TabBarIndicatorSize? indicatorSize,
  3. Color? labelColor,
  4. EdgeInsetsGeometry? labelPadding,
  5. TextStyle? labelStyle,
  6. Color? unselectedLabelColor,
  7. TextStyle? unselectedLabelStyle,
  8. MaterialStateProperty<Color?>? overlayColor,
  9. InteractiveInkFeatureFactory? splashFactory,
  10. MaterialStateProperty<MouseCursor?>? mouseCursor}
)

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

Implementation

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