MorphGlassKind enum
The role a surface plays in a control.
The kind names the part; whether the part is Liquid Glass is MorphGlassSurface.glass and, for a lens, knob or thumb, its lift.
Values
- track → const MorphGlassKind
-
The track of a segmented control, switch, slider or stepper: a plain fill in iOS 27, handed over with MorphGlassSurface.glass false.
- lens → const MorphGlassKind
-
The selection lens of a segmented control or tab bar: an opaque platter at rest, glass only while lifted.
- knob → const MorphGlassKind
-
The knob of a switch: an opaque platter at rest, glass only while lifted.
- thumb → const MorphGlassKind
-
The thumb of a slider: an opaque platter at rest, glass only while lifted.
-
The body of a glass button.
- bar → const MorphGlassKind
-
The floating body of a tab bar.
-
The platter of a menu grown out of its button, or of a sheet floating below its large detent.
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<
MorphGlassKind> - A constant List of the values in this enum, in order of their declaration.