TabBehavior class abstract final

What Compose's Tab sets in code (behavior.yaml, verified at the pin).

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

doubleLineTextBaselineWithIcon → const Dp
In an icon-and-label tab, the distance from a two-line label's last baseline to the indicator above the tab's bottom edge. (Tab.kt line 434.)
fadeInMotion → const ExpressiveMotionKey
The spring a tab's content colour fades in with when it is selected. (Tab.kt line 280.)
fadeOutMotion → const ExpressiveMotionKey
The spring a tab's content colour fades out with when it is deselected. (Tab.kt line 283.)
horizontalTextPadding → const Dp
A tab's horizontal padding around its label; the tab row subtracts it twice from a tab's width to size the primary indicator to the label. (Tab.kt line 424.)
iconDistanceFromBaseline → const double
In an icon-and-label tab, the distance from the icon's bottom to the label's first baseline, in sp (scaled with the text). (Tab.kt line 438.)
largeHeight → const Dp
The height of a tab with both an icon and a label (LargeTabHeight; the token IconAndLabelTextContainerHeight says 64, the code 72). (Tab.kt line 420.)
singleLineTextBaselineWithIcon → const Dp
In an icon-and-label tab, the distance from a one-line label's baseline to the indicator above the tab's bottom edge. (Tab.kt line 429.)