text property

String? get text

The text shown in the expanded state. Maximum allowed length is 20 characters, including whitespaces. If null, the status icon doesn’t expand on tap. Default is null.

Added in version 7.1.0

Implementation

String? get text => _text;
set text (String? newValue)

The text shown in the expanded state. Maximum allowed length is 20 characters, including whitespaces. If null, the status icon doesn’t expand on tap. Default is null.

Added in version 7.1.0

Implementation

set text(String? newValue) {
  _text = newValue;
  controller?.updateAnnotation(this);
}