CachedTransitionState class

Holds animation state and widget instance for a cached transition.

Constructors

CachedTransitionState({required CachedTransitionContext context, required Widget widget})

Properties

hashCode int
The hash code for this object.
no setterinherited
primaryAnimation Animation<double>
Returns the fade-in animation with curve applied.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryAnimation Animation<double>
Returns the fade-out animation with curve applied.
no setter
widget Widget
The widget associated with this transition state.
final

Methods

dispose() → void
ensureFadeInCompleted() → void
Forces the fade-in animation to jump to the completed state.
fadeIn() → void
Starts the fade-in animation from the beginning.
fadeOut() → void
Starts the fade-out animation from the beginning.
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