getContext static method
Provide current context from anywhere
Implementation
static BuildContext getContext() {
return StackedService.navigatorKey!.currentState!.overlay!.context;
}
Provide current context from anywhere
static BuildContext getContext() {
return StackedService.navigatorKey!.currentState!.overlay!.context;
}