ExpressiveMotionScheme class
Material 3 Expressive motion schemes.
Two predefined schemes:
standard— for subtle transitions (nav, state changes)expressive— for hero interactions and prominent UI
Constructors
- ExpressiveMotionScheme({required ExpressiveSpring defaultSpatial, required ExpressiveSpring fastSpatial, required ExpressiveSpring slowSpatial, required ExpressiveSpring defaultEffects, required ExpressiveSpring fastEffects, required ExpressiveSpring slowEffects})
-
const
Properties
- defaultEffects → ExpressiveSpring
-
Spring for effects (opacity, color, scale).
final
- defaultSpatial → ExpressiveSpring
-
Spring for spatial animations (position, size).
final
- fastEffects → ExpressiveSpring
-
final
- fastSpatial → ExpressiveSpring
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slowEffects → ExpressiveSpring
-
final
- slowSpatial → ExpressiveSpring
-
final
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
- expressive → const ExpressiveMotionScheme
- Expressive motion scheme — bouncy, engaging, hero transitions.
- standard → const ExpressiveMotionScheme
- Standard motion scheme — subtle, functional.