ModularRoute<TPageParameters extends PageParameters, TModularPage extends ModularPage<TPageParameters>> class Null safety

Inheritance
Implementers

Constructors

ModularRoute({required BaseModule module, required String route, required TModularPage createPage(Map<String, String?> params), FutureOr<bool> guard(ModularHistory<PageParameters, ModularPage<PageParameters>> route, ModularRouterDelegate delegate)?, bool overrideModuleGuard = false})
ModularRoute.getIt({required BaseModule module, required String route, required TPageParameters createParams(Map<String, String?> params), FutureOr<bool> guard(ModularHistory<PageParameters, ModularPage<PageParameters>> route, ModularRouterDelegate delegate)?, bool overrideModuleGuard = false})

Properties

createPage → TModularPage Function(Map<String, String?> parameters)
finalinherited
guard → (FutureOr<bool> Function?(ModularHistory<PageParameters, ModularPage<PageParameters>> route, ModularRouterDelegate delegate)?)
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
module BaseModule
finalinherited
overrideModuleGuard bool
finalinherited
route String
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

create(TPageParameters parameters) → TModularPage
isPageRoute(Type pageType) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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