text property

The text source currently driving this producer.

Implementation

ValueListenable<String> get text => _text;
set text (ValueListenable<String> value)

Implementation

set text(ValueListenable<String> value) {
  if (identical(_text, value)) return;
  if (!_disposed) {
    _text.removeListener(_handleTextChanged);
  }
  _text = value;
  _lastText = null;
  if (!_disposed) {
    _text.addListener(_handleTextChanged);
    sync(force: true);
  }
}