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

Implementers

Constructors

BaseModularRoute({required BaseModule module, required String route, required TModularPage createPage(Map<String, String?> parameters), FutureOr<bool> guard(ModularHistory<PageParameters, ModularPage<PageParameters>> route, ModularRouterDelegate delegate)?, bool overrideModuleGuard = false})

Properties

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

Methods

isPageRoute(Type pageType) bool
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.
override