hasFocus property
bool
get
hasFocus
Whether the text field currently has keyboard focus.
Implementation
bool get hasFocus => _hasFocus;
set
hasFocus
(bool v)
Sets the focus state.
Implementation
set hasFocus(bool v) {
if (_hasFocus == v) return;
_hasFocus = v;
markNeedsPaint();
}