GetPage<T> class

Inheritance

Constructors

GetPage({required String name, required GetPageBuilder page, String? title, bool? participatesInRootNavigator, double gestureWidth(BuildContext context)?, bool maintainState = true, Curve curve = Curves.linear, Alignment? alignment, Map<String, String>? parameters, bool opaque = true, Duration? transitionDuration, bool? popGesture, Bindings? binding, List<Bindings> bindings = const [], Transition? transition, CustomTransition? customTransition, bool fullscreenDialog = false, List<GetPage> children = const <GetPage>[], List<GetMiddleware>? middlewares, GetPage? unknownRoute, Object? arguments, bool showCupertinoParallax = true, bool preventDuplicates = true})

Properties

alignment Alignment?
final
arguments Object?
The arguments passed to this route.
final
binding Bindings?
final
bindings List<Bindings>
final
children List<GetPage>
final
curve Curve
final
customTransition CustomTransition?
final
fullscreenDialog bool
final
gestureWidth → (double Function(BuildContext context)?)
final
hashCode int
The hash code for this object.
no setterinherited
key LocalKey?
The key associated with this page.
finalinherited
maintainState bool
final
middlewares List<GetMiddleware>?
final
name String
The name of the route (e.g., "/settings").
final
opaque bool
final
page GetPageBuilder
final
parameters Map<String, String>?
final
participatesInRootNavigator bool?
final
path PathDecoded
final
popGesture bool?
final
preventDuplicates bool
final
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCupertinoParallax bool
final
title String?
final
transition Transition?
final
transitionDuration Duration?
final
unknownRoute GetPage?
final

Methods

canUpdate(Page other) bool
Whether this page can be updated with the other page.
inherited
copy({String? name, GetPageBuilder? page, bool? popGesture, Map<String, String>? parameters, String? title, Transition? transition, Curve? curve, Alignment? alignment, bool? maintainState, bool? opaque, Bindings? binding, List<Bindings>? bindings, CustomTransition? customTransition, Duration? transitionDuration, bool? fullscreenDialog, RouteSettings? settings, List<GetPage>? children, GetPage? unknownRoute, List<GetMiddleware>? middlewares, bool? preventDuplicates, double gestureWidth(BuildContext context)?, bool? participatesInRootNavigator, Object? arguments, bool? showCupertinoParallax}) GetPage<T>
createRoute(BuildContext context) Route<T>
Creates the Route that corresponds to this page.
override
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