value property

TextEditingValue get value

Implementation

TextEditingValue get value {
  return _cacheTextEditingValue ??= TextEditingValue(
    text: '',
    selection: TextSelection.fromPosition(
      const TextPosition(offset: 0, affinity: TextAffinity.downstream),
    ),
  );
}
set value (TextEditingValue value)

Implementation

set value(TextEditingValue value) {
  _cacheTextEditingValue = value;
  _ensureTextEditing();
}