focus method
Sets the focus property of this node.
notifyListeners is called to notify all registered listeners.
Implementation
void focus({bool isFocused = true}) {
_isFocused = isFocused;
notifyListeners();
}
Sets the focus property of this node.
notifyListeners is called to notify all registered listeners.
void focus({bool isFocused = true}) {
_isFocused = isFocused;
notifyListeners();
}