MotionFields class abstract final

Motion: the node's rest pose (a transform over its layout) and how it moves to it.

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

all → const List<PropDef<Object?>>
arc → const PropDef<double>
A change of position bends this share of its distance off the line.
backfaceHidden → const PropDef<bool>
blur → const PropDef<double>
curve → const PropDef<AnimationCurve>
delay → const PropDef<int>
duration → const PropDef<int>
enter → const PropDef<bool>
enterFrom → const PropDef<Motion?>
enterHeld → const PropDef<bool>
Holds the entrance at its start while true (bindable).
fadeShare → const PropDef<double>
The share of the duration in which the opacity arrives (easing out).
keyframes → const PropDef<List<MotionKeyframe>>
loop → const PropDef<MotionLoop>
opacity → const PropDef<double>
orientToPath → const PropDef<bool>
orientUpright → const PropDef<bool>
With orientToPath: never upside down.
originX → const PropDef<double>
The transform's origin in the box (-1–1, 0 the center).
originY → const PropDef<double>
path → const PropDef<String?>
An SVG path the node moves along.
pathFocusX → const PropDef<double>
The focus of area pacing, in the path's coordinates.
pathFocusY → const PropDef<double>
pathPacing → const PropDef<MotionPathPacing>
pathProgress → const PropDef<double>
pathViewBox → const PropDef<List<double>>
The path's coordinate space [width, height], stretched over the node's parent; empty: pixels.
pathWrap → const PropDef<bool>
Reads the progress modulo 1.
paused → const PropDef<bool>
Freezes the loop and the spin where they are.
perspective → const PropDef<double>
phase → const PropDef<double>
Where the loop starts in its cycle (0–1).
pulseKey → const PropDef<String?>
repeat → const PropDef<int>
Loop runs (0: forever).
replayKey → const PropDef<String?>
revealFraction → const PropDef<double>
revealOnScroll → const PropDef<bool>
rotate → const PropDef<double>
Degrees.
rotateCurve → const PropDef<AnimationCurve?>
The rotation's own curve; null follows curve.
rotateX → const PropDef<double>
rotateY → const PropDef<double>
scale → const PropDef<double>
scaleX → const PropDef<double>
scaleY → const PropDef<double>
shiftX → const PropDef<double>
Times the node's size.
shiftY → const PropDef<double>
shimmer → const PropDef<MotionShimmer?>
spin → const PropDef<double>
Turns per second.
spinRamp → const PropDef<int>
springDamping → const PropDef<double>
springStiffness → const PropDef<double>
translateX → const PropDef<double>
Pixels.
translateY → const PropDef<double>
uprightMirror → const PropDef<bool>
With orientUpright: heading left mirrors the node, so its front leads.