PageTransitions class
Main class context is the BuildContext of the App, is required. child is the screen/Widget to navigate, is required. animation with this param it could change the animation, is optional. duration is the animation duration, is optional. reverseDuration is the reverse animation duration, is optional. settings is the typical RouteSettings to send arguments, is optional. replacement is the flag to navigate with pushReplacement, is optional. fullscreenDialog is the flag that indicates if this new screen will be a full dialog, is optional. curve is the typical Curves animation, is optional.
Constructors
- PageTransitions({required BuildContext context, required Widget child, AnimationType animation = AnimationType.material, Duration duration = const Duration(milliseconds: 300), Duration reverseDuration = const Duration(milliseconds: 300), RouteSettings? settings, bool replacement = false, bool fullscreenDialog = false, Curve curve = Curves.easeOut})
Properties
- animation → AnimationType
-
final
- child → Widget
-
final
- context → BuildContext
-
final
- curve → Curve
-
final
- duration → Duration
-
final
- fullscreenDialog → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- replacement → bool
-
final
- reverseDuration → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → RouteSettings?
-
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