RouteTransitions class

Main class, context refers to the BuildContext of the app at that moment child receives the Widget to navigate, animation is the type of the animation

Constructors

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

Properties

animation AnimationType
final
child Widget
final
context BuildContext
final
duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
replacement bool
final
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
toString() String
A string representation of this object.
inherited

Operators

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