NPageMain class

Inheritance

Constructors

NPageMain({bool relative = true, String path = '/', List<NPage> pages = const [], required PageBuilder pageBuilder, RedirectBuilder? redirectBuilder, ErrorPageBuilder? errorPageBuilder, List<Type> groupList = const []})

Properties

errorPageBuilder ErrorPageBuilder?
final
fullPath String
no setterinherited
groupList List<Type>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
historyCount int
no setterinherited
index int
no setterinherited
isErrorPage bool
no setterinherited
isPrimary bool
finalinherited
pageBuilder PageBuilder
finalinherited
pages List<NPage>
finalinherited
params List<String>
no setterinherited
path String
finalinherited
redirectBuilder RedirectBuilder?
finalinherited
relative bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useGroupId bool
finalinherited

Methods

contains(NPage page) bool
inherited
errorBuild(String location, Map params, Map extra, Object? groupId) RouteQueueEntry
getGroupId(int id) String?
inherited
getNPageFromIndex(int index) NPage?
inherited
getPageFromLocation(String location, [Map<String, dynamic>? params, Map<String, dynamic>? keys]) NPage?
getRestorationId(int id) String
inherited
getUrl(Map params, Map extra) String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redirect(RouteQueueEntry entry, {RedirectBuilder? builder}) RouteQueueEntry
inherited
resetId(int? old) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

resolveFullPath(NPage current, bool relative, int index) → void