RouteTransitions class
Main Class, context is the main context of the page child is the main widget of the page, animation is the type of animation
Constructors
- RouteTransitions({Duration duration = const Duration(milliseconds: 500), required BuildContext context, required Widget child, AnimationType animation = AnimationType.normal, 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
-
fadeInTransition(
) → void - Code FadeIn Transition
-
normalTransition(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pushPage(
Route route) → void - Push normal of the page
-
pushReplacementPage(
Route route) → void - PushReplacement of the page
-
slideInTransition(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited