of static method
Obtains the nearest PromptScope from the build context.
Implementation
static PromptScope? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<PromptScope>();
}
Obtains the nearest PromptScope from the build context.
static PromptScope? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<PromptScope>();
}