ScreenRoute<T extends Object?> class

T is the possible return type of this Screen

Constructors

ScreenRoute({required WidgetBuilder builder, required NuRouteSettings<Object?> nuRouteSettings, WrapperFn? wrapper, ScreenType? screenType, String? debugKey})
const

Properties

builder WidgetBuilder
final
debugKey String?
final
hashCode int
The hash code for this object.
no setterinherited
nuRouteSettings NuRouteSettings<Object?>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenType ScreenType?
final
wrapper WrapperFn?
final

Methods

copyWith({WidgetBuilder? builder, ScreenType? screenType, WrapperFn? wrapper, String? debugKey, String? deepLink, NuRouteSettings<Object?>? nuRouteSettings}) ScreenRoute<T>
Creates a copy of the ScreenRoute replacing the old properties with the new provided. For the non properties provided the old will be used.
fallbackScreenType(ScreenType? fallbackScreenType) ScreenRoute<T>
Creates a copy of the ScreenRoute with the new screen type
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toRoute([RouteSettings? settings]) Route<T>
toString() String
A string representation of this object.
inherited
wrapWith(WrapperFn? wrapper) ScreenRoute<T>

Operators

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