text property
Returns the text of the TextEditingController.
Implementation
String get text => controller.text;
Sets the text of TextEditingController to value
and calls onFocus
and onChanged.
Implementation
set text(String value) {
controller.text = value;
_previousText = value;
isEmpty.value = value.isEmpty;
changed.value = true;
onChanged?.call(this);
onFocus?.call(this);
}