focused property
bool
get
focused
Whether the button currently has keyboard focus.
Implementation
bool get focused => _focused;
set
focused
(bool v)
Sets the focus state.
Implementation
set focused(bool v) {
if (_focused == v) return;
_focused = v;
_invalidateCache();
markNeedsPaint();
}