focusedEditable property

EditableTextState focusedEditable

The current client of the onscreen keyboard. Callers must pump an additional frame after setting this property to complete the the focus change.

Instead of setting this directly, consider using WidgetTester.showKeyboard.

Implementation

EditableTextState get focusedEditable => _focusedEditable;
void focusedEditable= (EditableTextState value)

Implementation

set focusedEditable(EditableTextState value) {
  if (_focusedEditable != value) {
    _focusedEditable = value;
    value?.requestKeyboard();
  }
}