defaultValue property

String get defaultValue

Implementation

String get defaultValue => _defaultValue;
set defaultValue (String? text)

Implementation

set defaultValue(String? text) {
  text ??= '';
  _defaultValue = text;
  // Only set value when dirty flag is false.
  if (!hasDirtyValue) {
    setValue(text);
  }
}