AnimationPresets class abstract final

The presets an animation's preset names. Loops (pulse, fade, scale, spin, bob, sway, flicker) repeat for a second and rest (on the design canvas) at their start; one-shot effects (shake, bounce, pop, wiggle, jelly, flash, keyframes) wait for a cue and last 520 ms; enter plays once from its from values to the node's own. Their tracks add to or multiply the node's own pose (TrackBlend), as a Flutter ScaleTransition or RotationTransition wrapped around it would.

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

names → Iterable<String>
no setter

Static Methods

legacyMotionPath(String key) → String
The binding path of legacy motion property key now: opacity is the node's, blur its motionBlurId layer blur's radius, pathProgress its path's progress, the rest motion.<key>; a key with a dot is a binding path already.
of(String name) → AnimationPreset?
The preset named name, or null.

Constants

legacyKeyframeProperties → const List<String>
The properties a legacy motion keyframe could name.
motionBlurId → const String
The id of the layer blur a legacy motion.blur became.