ShellValue.def constructor
ShellValue.def({
- required RouteKey key,
- required List<
HyperRoute< tabs,RouteValue> >
Implementation
factory ShellValue.def({
required RouteKey key,
required List<HyperRoute> tabs,
}) {
return ShellValue(
tabIndex: 0,
key: key,
tabNodes: tabs.map((e) => e.createNode()).toList(),
);
}