MorphSpeed enum
Controls the speed profile of a liquid glass morph animation.
Each case maps to calibrated open and close spring descriptions that
preserve the native iOS 27 damping ratios (ζ ≈ 0.76 open, ζ ≈ 0.86
close platter, plus scaled parallel trigger recoil and width springs).
Values
- slow → const MorphSpeed
-
Slow, deliberate morph (
0.65×frequency). Suitable for tutorials. - normal → const MorphSpeed
-
Default iOS 27 native-parity speed (
1.0×frequency). - fast → const MorphSpeed
-
Fast, snappy morph (
1.35×frequency) for high-frequency interactions. - instant → const MorphSpeed
-
Near-instant transition (
2.5×frequency). Used for Reduce Motion or tests.
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<
MorphSpeed> - A constant List of the values in this enum, in order of their declaration.