of static method
Implementation
static TabsRouterScope? of(BuildContext context, {bool watch = false}) {
if (watch) {
return context.dependOnInheritedWidgetOfExactType<TabsRouterScope>();
}
return context.findAncestorWidgetOfExactType<TabsRouterScope>();
}