AnimationTokens class abstract
============================================================================= ANIMATION TOKENS
Consistent animation durations across the app.
Rationale: Consistent timing creates cohesive feel. Elderly users may need slightly slower animations for comprehension.
Constructors
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
- durationExtraSlow → const Duration
- 1000ms - Extra slow (onboarding, tutorials)
- durationFast → const Duration
- 150ms - Fast (hover effects, micro-interactions)
- durationInstant → const Duration
- 100ms - Instant feedback (button press response)
- durationModerate → const Duration
- 300ms - Moderate (panel slides)
- durationNormal → const Duration
- 250ms - Normal (standard transitions) - MOST COMMON
- durationQuick → const Duration
- 200ms - Quick (state changes, toggles)
- durationSlow → const Duration
- 400ms - Slow (page transitions, complex animations)
- durationVerySlow → const Duration
- 600ms - Very slow (emphasis, attention-grabbing)