TabThemeData class

Theme data for Tab.

Annotations

Constructors

TabThemeData({EdgeInsets? padding, double? height, double? width, Color? tabBarBackgroundColor, TextStyle? textStyle, IconThemeData? iconThemeData, double? itemSpacing, EdgeInsets? itemPadding, Color? itemColor, Color? itemHoverColor, Color? itemHighlightColor, bool? itemFilled, Color? itemBackgroundColor, Color? itemHoverBackgroundColor, Color? itemHighlightBackgroundColor, Duration? menuTransitionDuration, Curve? menuTrasitionCurve, Curve? menuTrasitionReverseCurve})
Creates a TabThemeData.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
height double?
The height of the tab bar when the axis is horizontal. When the value is 0.0, the height of the tab bar will be the intrinsic height of the children.
final
iconThemeData IconThemeData?
The theme for the icon. The color is ignored.
final
itemBackgroundColor Color?
The background color when the button is filled.
final
itemColor Color?
The color of the tab item.
final
itemFilled bool?
If the tab bar item should use a filled button. See itemBackgroundColor to change the background color.
final
itemHighlightBackgroundColor Color?
The background color when the button is pressed.
final
itemHighlightColor Color?
The highlight color of the tab item.
final
itemHoverBackgroundColor Color?
The background color when the button is being hovered.
final
itemHoverColor Color?
The hover color of the tab item.
final
itemPadding EdgeInsets?
The padding for the items in the tab bar.
final
itemSpacing double?
The space between items inside the tab bar, if they are simple text or an icon.
final
The duration of the menu transition.
final
The animation curve of the menu transition.
final
The animation reverse curve of the menu transition.
final
padding EdgeInsets?
The padding for the tab bar.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabBarBackgroundColor Color?
The background of the tab bar.
final
textStyle TextStyle?
The style for the text. The color is ignored.
final
width double?
The width of the tab bar when the axis is vertical. When the value is 0.0, the width of the tab bar will be the intrinsic width of the children.
final

Methods

copyWith({EdgeInsets? padding, double? height, double? width, Color? tabBarBackgroundColor, TextStyle? textStyle, IconThemeData? iconThemeData, double? itemSpacing, EdgeInsets? itemPadding, Color? itemColor, Color? itemHoverColor, Color? itemHighlightColor, bool? itemFilled, Color? itemBackgroundColor, Color? itemHoverBackgroundColor, Color? itemHighlightBackgroundColor, Duration? menuTransitionDuration, Curve? menuTrasitionCurve, Curve? menuTrasitionReverseCurve}) TabThemeData
Makes a copy of TabThemeData overwriting selected fields.
merge(TabThemeData? other) TabThemeData
Merges the theme data TabThemeData.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant TabThemeData other) bool
The equality operator.
override