createNode method
Implementation
@override
RouteNode createNode({RouteNode? next, ShellValue? value}) {
return ShellNode(
shellBuilder: shellBuilder,
value: switch ((next, value)) {
(final next?, final value?) => value.withNext(next),
(final next?, null) => ShellValue.fromNext(
key: key,
tabRoutes: tabs,
next: next,
),
(null, final value?) => value,
(null, null) => value = ShellValue.def(key: key, tabs: tabs),
},
route: this,
);
}