TreeAnimationSpec class
A (duration, curve) pair for one animation family.
- Annotations
Constructors
- TreeAnimationSpec({required Duration duration, required Curve curve})
-
const
Properties
- curve → Curve
-
Easing curve applied over the animation's progress.
final
- duration → Duration
-
Total animation duration. Duration.zero means the family snaps
(no animation). See the library doc for the kill-switch rule.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Duration? duration, Curve? curve}) → TreeAnimationSpec - Copies with the given fields replaced; omitted fields keep theirs.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override