ExpressiveSliderSize enum

The five track sizes of the Material 3 Expressive slider.

Inheritance
Available extensions

Values

extraSmall → const ExpressiveSliderSize

16dp track, 44dp handle: Compose's default slider.

small → const ExpressiveSliderSize

24dp track, 44dp handle.

medium → const ExpressiveSliderSize

40dp track, 52dp handle; takes an inset icon.

large → const ExpressiveSliderSize

56dp track, 68dp handle; takes an inset icon.

extraLarge → const ExpressiveSliderSize

96dp track, 108dp handle; takes a larger inset icon.

Properties

corner → ExpressiveCorner?
The track's outer corner; null keeps Compose's default (half the track, Dp.Unspecified).
no setter
handleHeight → double
The handle's length across the track: the track plus the handle's padding above and below, never under the token handle.
no setter
hashCode → int
The hash code for this object.
no setterinherited
iconSize → double?
The inset icon's size; null where the track is too thin for one.
no setter
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
trackHeight → double
The track's thickness.
no setter

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<ExpressiveSliderSize>
A constant List of the values in this enum, in order of their declaration.