UIRoute<T> class

Class describing route for navigation interactor methods Used as input for BaseNavigationInteractor.routeTo, BaseNavigationInteractor.showDialog and BaseNavigationInteractor.showBottomSheet You need to specify type of name field can be BottomSheetNames, DialogNames or RouteNames or anything else

Constructors

UIRoute.new({required T name, required UIRouteSettings defaultSettings, required Widget child})
const

Properties

child Widget
View to open with this route
final
defaultSettings UIRouteSettings
Settings for this route
final
hashCode int
The hash code for this object.
no setterinherited
name → T
Name for this route of given type
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWithDefaultSettings(UIRouteSettings settings) UIRoute<T>
Returns copy of this object with changed default settings
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