FFPage<T> class
Navigator 2.0
- Inheritance
-
- Object
- RouteSettings
- Page<
T> - FFPage
Constructors
Properties
- arguments → Object?
-
The arguments passed to this route.
finalinherited
- description → String?
-
The description of route
final
-
exts
→ Map<
String, dynamic> ? -
The extend arguments
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleted → bool
-
no setter
- key → LocalKey?
-
The key associated with this page.
finalinherited
- name → String?
-
The name of the route (e.g., "/settings").
finalinherited
- pageRouteType → PageRouteType?
-
The type of page route
final
-
popped
→ Future<
T> -
A future that completes when this route is popped off the navigator.
no setter
- restorationId → String?
-
Restoration ID to save and restore the state of the Route configured by
this page.
finalinherited
- routeName → String?
-
The route name to track page
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showStatusBar → bool?
-
Whether show status bar.
final
- widget → Widget
-
The Widget base on this route
final
Methods
-
canUpdate(
Page other) → bool -
Whether this page can be updated with the
other
page.inherited -
copyWith(
{String? name, Object? arguments, LocalKey? key, Widget? widget, bool? showStatusBar, String? routeName, PageRouteType? pageRouteType, String? description, Map< String, dynamic> ? exts}) → FFPage<T> -
createRoute(
BuildContext context) → Route< T> -
Creates the Route that corresponds to this page.
override
-
didPop(
[T? result]) → bool - pop this route
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFFRouteSettings(
{String? name, Object? arguments, LocalKey? key, Widget? widget, bool? showStatusBar, String? routeName, PageRouteType? pageRouteType, String? description, Map< String, dynamic> ? exts}) → FFRouteSettings -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited