shouldLoadView property
Check if the widget should be loaded.
Implementation
@override
bool get shouldLoadView {
if (widget is NyStatefulWidget &&
(widget as NyStatefulWidget).controller.routeGuards.isNotEmpty) {
return (widget as NyStatefulWidget).controller.routeGuards.isNotEmpty;
}
return init is Future Function();
}