PageSettings<T> class
- Inheritance
-
- Object
- RouteSettings
- Page<
void> - PageSettings
Constructors
- PageSettings({required String path, String? restorationId, String? name, required PageArguments arguments, required Widget child, bool fullscreenDialog = false, bool maintainState = true, Duration transitionDuration = Duration.zero, RouteTransitionsBuilder? transitionsBuilder, required bool isCompleted})
Properties
- arguments → PageArguments
-
The arguments passed to this route.
no setteroverride
- child → Widget
-
final
-
completer
→ Completer<
T?> ? -
final
- fullscreenDialog → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialPage → bool
-
no setter
-
key
→ ValueKey<
String> -
The key associated with this page.
no setteroverride
- maintainState → bool
-
final
- name → String?
-
The name of the route (e.g., "/settings").
finalinherited
- path → String
-
no setter
- 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
- transitionDuration → Duration
-
final
- transitionsBuilder → RouteTransitionsBuilder?
-
final
Methods
-
canUpdate(
Page other) → bool -
Whether this page can be updated with the
other
page.inherited -
createRoute(
BuildContext context) → Route< void> -
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