AdaptiveMotion class abstract final

Animation durations and curves, branched per platform.

iOS motion is flatter and quicker to settle; Material 3 uses emphasised easing with a slight overshoot. Using the wrong curve is subtle but it is one of the things that makes an app feel ported rather than native.

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 Properties

appearCurve → Curve
Curve for something appearing on top of the current screen.
no setter
enterCurve → Curve
Curve for an element entering within the current screen.
no setter
pageCurve → Curve
Page transition curve.
no setter

Constants

micro → const Duration
Taps, toggles, selection feedback.
page → const Duration
Full page transitions.
transition → const Duration
Dialogs, sheets, expanding sections.