RouteTransition class

Main class. context is the BuildContext application at the moment, child is the Widget to navigate, animation is the animation type.

Constructors

RouteTransition({required BuildContext context, required Widget child, Curve curve = Curves.easeInOut, RouteTransitionAnimation animation = RouteTransitionAnimation.normal, Duration duration = const Duration(milliseconds: 300), double from = 0.0, RouteTransitionType type = RouteTransitionType.normal})

Properties

animation RouteTransitionAnimation
final
child Widget
final
context BuildContext
final
curve Curve
final
duration Duration
final
from double
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RouteTransitionType
final

Methods

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