label property

String get label

A textual description of the owning RenderObject.

Setting this attribute will override the attributedLabel.

The reading direction is given by textDirection.

See also:

Implementation

String get label => _attributedLabel.string;
set label (String label)

Implementation

set label(String label) {
  _attributedLabel = AttributedString(label);
  _hasBeenAnnotated = true;
}