useFocus function
Tracks and controls focus for target.
Implementation
FocusController useFocus(GlobalNodeKey<web.HTMLElement> target, {bool enabled = true}) {
return use(_FocusHook(target, enabled));
}
Tracks and controls focus for target.
FocusController useFocus(GlobalNodeKey<web.HTMLElement> target, {bool enabled = true}) {
return use(_FocusHook(target, enabled));
}