label property

String 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;
void label=(String label)

Implementation

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