RouteTransitions class
The RouteTransition
class is used to animate the transition between routes.
child is the widget that will be animated.
animationType
is the type of animation.
duration is the duration of the animation.
Constructors
- RouteTransitions({required BuildContext context, required Widget child, bool replacement = false, AnimationType animation = AnimationType.normal, Duration duration = const Duration(milliseconds: 300), Alignment alignment = Alignment.topLeft})
Properties
- alignment → Alignment
-
final
- 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