UIRouteSettings class

Class describing route settings

Example:

UIRouteSettings(
  global: pathParams != null,
),
Implementers

Constructors

UIRouteSettings.new({bool dismissable = true, bool uniqueInStack = false, bool needToEnsureClose = false, bool fullScreenDialog = false, bool global = false, Object? id, bool replace = false, bool replacePrevious = false, String? name, NavigationRouteBuilder? customRouteBuilder})
const

Properties

customRouteBuilder NavigationRouteBuilder?
Custom route builder for this route
final
dismissable bool
Flag indicating if route can be popped with system back gestures or back buttons
final
fullScreenDialog bool
Flag indicating that route is fullscreen dialog
final
global bool
Flag indicating that route need to be pushed on global stack
final
hashCode int
The hash code for this object.
no setterinherited
id Object?
Id for this route
final
name String?
Name for this route
final
needToEnsureClose bool
Flag indicating if route need to send EnsureCloseRequestedEvent when popped
final
replace bool
Flag indicating that route need to replace current stack
final
replacePrevious bool
Flag indicating that route need to replace last route in current stack
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniqueInStack bool
Flag indicating if route can be opened multiple times in current stack
final

Methods

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