TabHeaderExtentBehavior enum
Defines how tab headers are sized relative to each other along their extent (the thickness of the header).
Depending on the tab placement:
- For tabs placed horizontally (top or bottom), the extent is the height.
- For tabs placed vertically (left or right), the extent is the width.
- For stacked vertical tabs, the extent is again the height.
A tab header refers only to the inner area of a tab (label, optional buttons, and padding), excluding borders and external decorations.
This setting only affects the relationship between tab headers themselves. It does not control how the overall tabs area fits within its container — for that, see TabsAreaCrossAxisFit.
Values
- individual → const TabHeaderExtentBehavior
-
Each tab header determines its own extent based on its intrinsic content.
- uniform → const TabHeaderExtentBehavior
-
All tab headers have exactly the same extent.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited
Constants
-
values
→ const List<
TabHeaderExtentBehavior> - A constant List of the values in this enum, in order of their declaration.