Pose class final

A Motion drawn with a fade and a blur: the pose a page of a page view (pageMotion) or a side of a route transition is drawn at. Flutter: a Transform in an Opacity in an ImageFiltered. JSON: motion's keys with opacity and blur beside them, flat ({"shiftX": -1, "opacity": 0.5}).

Annotations
  • @immutable

Constructors

Pose({Motion motion = Motion.none, double opacity = 1, double blur = 0})
const

Properties

blur → double
A layer blur's radius.
final
hashCode → int
The hash code for this object.
no setterinherited
isNone → bool
no setter
motion → Motion
final
opacity → double
0–1.
final
props → List<Object?>
no setter
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
toJson() → Json
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Object? json) → Pose?
lerp(Pose a, Pose b, double t) → Pose
a to b at t.

Constants

none → const Pose