of static method
Returns the nearest FocusController from the widget tree.
Implementation
static FocusController? of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<_FocusScopeProvider>()
?.controller;
}
Returns the nearest FocusController from the widget tree.
static FocusController? of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<_FocusScopeProvider>()
?.controller;
}