label property
A textual description of the owning RenderObject.
Setting this attribute will override the attributedLabel.
The reading direction is given by textDirection.
See also:
- attributedLabel, which is the AttributedString of this property.
Implementation
String get label => _attributedLabel.string;
Implementation
set label(String label) {
_attributedLabel = AttributedString(label);
_hasBeenAnnotated = true;
}