NuRouteBuilder<A extends Object?, R extends Object?> class

Class to create an anonymous NuRoute that can be registered in a NuRouter

Inheritance

Constructors

NuRouteBuilder({required String path, required NuWidgetRouteBuilder<A?, R> builder, NuInitFunction? initializer, NuRouteParametersParser<A>? parser, ScreenType? screenType, bool prefix = false})

Properties

builder NuWidgetRouteBuilder<A?, R>
final
hashCode int
The hash code for this object.
no setterinherited
initializer NuInitFunction?
final
metaData Map<String, dynamic>
finalinherited
nuvigator NuvigatorState<INuRouter>
no setterinherited
paramsParser ParamsParser<A?>
no setteroverride
parser NuRouteParametersParser<A>?
final
path String
no setteroverride
prefix bool
no setteroverride
router NuRouter
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenType ScreenType?
no setteroverride

Methods

build(BuildContext context, NuRouteSettings<A?> settings) Widget
override
canOpen(String deepLink) bool
inherited
dispose() → void
inherited
init(BuildContext context) Future<bool>
override
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