of static method
Implementation
static MenuScope of(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<MenuScope>();
assert(scope != null, 'No MenuScope found in context');
return scope!;
}
static MenuScope of(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<MenuScope>();
assert(scope != null, 'No MenuScope found in context');
return scope!;
}