getScope static method
return the ScopeManager which includes the dataContext TODO: have to repeat this function in DataScopeWidget?
Implementation
static ScopeManager? getScope(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<PageGroupWidget>()
?.scopeManager;
}