text property

String get text

Implementation

String get text {
  final value = textState?.fromController(this) ?? _text ?? "";
  if (maxCharacters > 0 && !activated) {
    return value.substring(
      0,
      value.length > maxCharacters ? maxCharacters : value.length,
    );
  } else {
    return textAllCaps ? value.toUpperCase() : value;
  }
}
set text (String? value)

Implementation

set text(String? value) => _text = value;