TabThemeData class

Theme for tab.

Constructors

TabThemeData({IconProvider? closeIcon, Color normalButtonColor = Colors.black, Color hoverButtonColor = Colors.black, Color disabledButtonColor = Colors.black12, BoxDecoration? normalButtonBackground, BoxDecoration? hoverButtonBackground, BoxDecoration? disabledButtonBackground, double buttonIconSize = TabbedViewThemeConstants.defaultIconSize, VerticalAlignment verticalAlignment = VerticalAlignment.center, double buttonsOffset = 0, EdgeInsetsGeometry? buttonPadding, double buttonsGap = 0, BoxDecoration? decoration, BoxDecoration? draggingDecoration, double draggingOpacity = 0.3, BorderSide? innerBottomBorder, BorderSide? innerTopBorder, TextStyle? textStyle = const TextStyle(fontSize: 13), EdgeInsetsGeometry? padding, EdgeInsetsGeometry? paddingWithoutButton, EdgeInsetsGeometry? margin, TabStatusThemeData? selectedStatus, TabStatusThemeData? highlightedStatus, TabStatusThemeData? disabledStatus})

Properties

buttonIconSize double
getter/setter pair
buttonPadding EdgeInsetsGeometry?
getter/setter pair
buttonsGap double
getter/setter pair
buttonsOffset double
getter/setter pair
closeIcon IconProvider
Icon for the close button.
getter/setter pair
decoration BoxDecoration?
The decoration to paint behind the tab.
getter/setter pair
disabledButtonBackground BoxDecoration?
getter/setter pair
disabledButtonColor Color
getter/setter pair
draggingDecoration BoxDecoration?
The decoration to paint behind the dragging tab.
getter/setter pair
draggingOpacity double
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
highlightedStatus TabStatusThemeData
getter/setter pair
hoverButtonBackground BoxDecoration?
getter/setter pair
hoverButtonColor Color
getter/setter pair
innerBottomBorder BorderSide?
getter/setter pair
innerTopBorder BorderSide?
getter/setter pair
margin EdgeInsetsGeometry?
Empty space to surround the decoration and tab.
getter/setter pair
normalButtonBackground BoxDecoration?
getter/setter pair
normalButtonColor Color
getter/setter pair
padding EdgeInsetsGeometry?
Empty space to inscribe inside the decoration. The tab child, if any, is placed inside this padding.
getter/setter pair
paddingWithoutButton EdgeInsetsGeometry?
Overrides padding when the tab has no buttons.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedStatus TabStatusThemeData
getter/setter pair
textStyle TextStyle?
getter/setter pair
verticalAlignment VerticalAlignment
getter/setter pair

Methods

getTabThemeFor(TabStatus status) TabStatusThemeData
Gets the theme of a tab according to its status.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override