NPageMain constructor
NPageMain({
- bool relative = true,
- String path = '/',
- List<
NPage> pages = const [], - required PageBuilder pageBuilder,
- RedirectBuilder? redirectBuilder,
- ErrorPageBuilder? errorPageBuilder,
- List<
Type> groupList = const [],
Implementation
NPageMain({
this.relative = true,
super.path,
super.pages,
required super.pageBuilder,
super.redirectBuilder,
this.errorPageBuilder,
super.groupList,
}) {
NPage._fullPathToRegExg(this);
_index = 0;
resolveFullPath(this, relative, 1);
}