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, Duration? reverseTransitionDuration, bool? popGesture, BindingsInterface? binding, List<BindingsInterface> bindings = const [], List<Bind> binds = const [], Transition? transition, CustomTransition? customTransition, bool fullscreenDialog = false, List<GetPage> children = const <GetPage>[], List<GetMiddleware> middlewares = const [], GetPage? unknownRoute, Object? arguments, bool showCupertinoParallax = true, bool preventDuplicates = true, PreventDuplicateHandlingMode preventDuplicateHandlingMode = PreventDuplicateHandlingMode.reorderRoutes, Completer<T?>? completer, bool inheritParentPath = true, LocalKey? key, bool canPop = true, PopInvokedWithResultCallback<T> onPopInvoked = _defaultPopInvokedHandler, String? restorationId})

Properties

alignment Alignment?
final
arguments Object?
The arguments passed to this route.
final
binding BindingsInterface?
final
bindings List<BindingsInterface>
final
binds List<Bind>
final
canPop bool
When false, blocks the associated route from being popped.
finalinherited
children List<GetPage>
final
completer Completer<T?>?
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 setteroverride
inheritParentPath bool
final
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
onPopInvoked PopInvokedWithResultCallback<T>
Called after a pop on the associated route was handled.
finalinherited
opaque bool
final
page GetPageBuilder
final
parameters Map<String, String>?
final
participatesInRootNavigator bool?
final
path PathDecoded
final
popGesture bool?
final
preventDuplicateHandlingMode PreventDuplicateHandlingMode
final
preventDuplicates bool
final
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
finalinherited
reverseTransitionDuration Duration?
final
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
copyWith({LocalKey? key, String? name, GetPageBuilder? page, bool? popGesture, Map<String, String>? parameters, String? title, Transition? transition, Curve? curve, Alignment? alignment, bool? maintainState, bool? opaque, List<BindingsInterface>? bindings, BindingsInterface? binding, List<Bind>? binds, CustomTransition? customTransition, Duration? transitionDuration, Duration? reverseTransitionDuration, bool? fullscreenDialog, RouteSettings? settings, List<GetPage<T>>? children, GetPage? unknownRoute, List<GetMiddleware>? middlewares, bool? preventDuplicates, double gestureWidth(BuildContext context)?, bool? participatesInRootNavigator, Object? arguments, bool? showCupertinoParallax, Completer<T?>? completer, bool? inheritParentPath, bool? canPop, PopInvokedWithResultCallback<T>? onPopInvoked, String? restorationId}) 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.
override

Operators

operator ==(Object other) bool
The equality operator.
override