Transition class final

An implicit animation's duration (ms) and curve, as Flutter's AnimatedOpacity(duration:, curve:).

Annotations
  • @immutable

Constructors

Transition({required int duration, AnimationCurve curve = AnimationCurve.linear})
const

Properties

curve → AnimationCurve
final
duration → int
final
hashCode → int
The hash code for this object.
no setterinherited
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) → Transition?