hasFocus property Null safety

bool hasFocus

Whether the editable is currently focused.

Implementation

bool get hasFocus => _hasFocus;
void hasFocus=(bool value)

Implementation

set hasFocus(bool value) {
  assert(value != null);
  if (_hasFocus == value)
    return;
  _hasFocus = value;
  markNeedsSemanticsUpdate();
}