text property

String text

Implementation

String get text => value.text;
void text=(String newText)

Implementation

set text(String newText) {
  value = value.copyWith(
      text: newText,
      selection: const TextSelection.collapsed(offset: -1),
      composing: TextRange.empty);
}