attributedLabel property Null safety

AttributedString attributedLabel

A textual description of the owning RenderObject in AttributedString format.

On iOS this is used for the accessibilityAttributedLabel property defined in the UIAccessibility Protocol. On Android it is concatenated together with attributedValue and attributedHint in the following order: attributedValue, attributedLabel, attributedHint. The concatenated value is then used as the Text description.

The reading direction is given by textDirection.

Implementation

AttributedString get attributedLabel => _attributedLabel;
void attributedLabel=(AttributedString attributedLabel)

Implementation

set attributedLabel(AttributedString attributedLabel) {
  _attributedLabel = attributedLabel;
  _hasBeenAnnotated = true;
}