RouteTransitions class
Main class, context is the app's build context at that time child is the widget to navigate to animation is the animation type duration is the duration of the animation replacement if true the navigation will be of type pushReplacement
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