text property
String
get
text
The current value as a non-nullable string, or an empty string when
Field.value is null.
Useful in widget build methods to avoid null-check boilerplate when
binding to a TextEditingController.
Example:
TextEditingController(text: nameField.text)
Implementation
String get text => value ?? '';