text property

String get text

The current text being edited.

Implementation

String get text => _model.value;
set text (String value)

Sets the text and notifies listeners.

Implementation

set text(String value) {
  if (_model.value == value) return;
  _model.setText(value);
  notifyListeners();
}