FFRouteSettings class

Navigator 1.0

Inheritance

Constructors

FFRouteSettings({required String name, required PageBuilder builder, Object? arguments, bool? showStatusBar, String? routeName, PageRouteType? pageRouteType, String? description, Map<String, dynamic>? exts, Map<String, dynamic>? codes})
const
FFRouteSettings.notFound(Widget notFoundWidget)
factory

Properties

arguments Object?
The arguments passed to this route.
finalinherited
builder PageBuilder
The builder return the page
final
codes Map<String, dynamic>?
to support something can't write in annotation it will be hadnled as a code when generate route
final
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
isNotFound bool
Whether the setting is targeting the not found route.
no setter
name String?
The name of the route (e.g., "/settings").
finalinherited
pageRouteType PageRouteType?
The type of page route
final
routeName String?
The route name to track page
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showStatusBar bool?
The Widget base on this route Whether show status bar.
final

Methods

copyWith({String? name, Object? arguments, PageBuilder? builder, bool? showStatusBar, String? routeName, PageRouteType? pageRouteType, String? description, Map<String, dynamic>? exts, Map<String, dynamic>? codes}) FFRouteSettings
createRoute() Route
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFFPage<T extends Object?>({String? name, Object? arguments, required LocalKey key, PageBuilder? builder, bool? showStatusBar, String? routeName, PageRouteType? pageRouteType, String? description, Map<String, dynamic>? exts, Map<String, dynamic>? codes}) FFPage<T>
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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