QRoute constructor
const
QRoute({
- required String path,
- required PageBuilder? builder,
- String? name,
- QPage? pageType,
- List<
QMiddleware> ? middleware, - List<
QRoute> ? children, - Map<
String, dynamic> meta = const {},
Implementation
const QRoute({
required this.path,
required this.builder,
this.name,
this.pageType,
this.middleware,
this.children,
this.meta = const {},
}) : assert(builder != null),
observers = null,
declarativeBuilder = null,
initRoute = null,
builderChild = null,
restorationId = null;