RouteTransitionDo class

Main class BuildContext is required to perform a transition using the animation type to animate the child into a new route. replacement will remove all the stack of pages into a new route

Constructors

RouteTransitionDo({@required BuildContext context, @required Widget child, bool replacement = false, AnimationType animationType = AnimationType.normal, Duration duration = const Duration(milliseconds: 300)})

Properties

animationType AnimationType
final
child Widget
final
context BuildContext
final
duration Duration
final
hashCode int
The hash code for this object.
read-onlyinherited
replacement bool
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited