focused property Null safety

bool? focused

If non-null, sets the SemanticsConfiguration.isFocused semantic to the given value.

Implementation

bool? get focused => _focused;
void focused=(bool? value)

Implementation

set focused(bool? value) {
  if (focused == value)
    return;
  _focused = value;
  markNeedsSemanticsUpdate();
}