RoomTransition class

Controls the transition between two rooms.

Constructors

RoomTransition({Duration duration = const Duration(milliseconds: 500), Duration? reverseDuration, Curve inCurve = Curves.linear, Curve outCurve = Curves.linear})
Creates a new RoomTransition instance.
const

Properties

duration Duration
The transition duration.
final
hashCode int
The hash code for this object.
no setterinherited
inCurve Curve
The transition in curve.
final
outCurve Curve
The transition out curve.
final
reverseDuration Duration?
The transition reverse duration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAnimatedSwitch({required Widget child, AnimatedSwitcherTransitionBuilder transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder}) Widget
Creates an AnimatedSwitcher widget instance.
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