Durations and curves shared by interactive widgets.
Defined now so later components (buttons, sheets, dialogs) share one motion language. Apple-like: short, slightly decelerated, never bouncy.
AnimatedContainer(
duration: ChicoMotion.fast,
curve: ChicoMotion.standard,
)
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
- emphasized → const Curve
- Emphasized settle for larger surfaces (sheets, page transitions).
- fast → const Duration
- 150ms. Press overlays, focus rings, color flashes.
- normal → const Duration
- 250ms. Layout, sheets beginning to move, fade through.
- standard → const Curve
- Default deceleration. Near-linear start, soft settle.