FlexiMotion class

Provides responsive animation durations based on the current device.

Generally, desktop animations are slightly slower to feel more substantial, while mobile animations are faster to feel snappy.

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

Static Methods

durationLong(BuildContext context) → Duration
Long duration (e.g., complex illustrations). Mobile: 400ms | Tablet: 500ms | Desktop: 600ms
durationMedium(BuildContext context) → Duration
Medium duration (e.g., page transitions, expansion). Mobile: 250ms | Tablet: 300ms | Desktop: 350ms
durationShort(BuildContext context) → Duration
Short duration (e.g., hover, micro-interactions). Mobile: 150ms | Tablet: 180ms | Desktop: 200ms