AnimationUnit class

Unit for storing animation information.

Please use it together with UIAnimatorScenario.

Constructors

AnimationUnit({required Animatable tween, required Duration from, required Duration to, String? tag, Curve curve = Curves.linear})
const

Properties

curve Curve
final
from Duration
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String?
final
to Duration
final
tween Animatable
final

Methods

copyWith({Animatable? tween, Duration? from, Duration? to, String? tag, Curve? curve}) AnimationUnit
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.
override