attributedLabel property Null safety

AttributedString? attributedLabel

If non-null, sets the SemanticsNode.attributedLabel semantic to the given value.

The reading direction is given by textDirection.

Implementation

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

Implementation

set attributedLabel(AttributedString? value) {
  if (_attributedLabel == value)
    return;
  _attributedLabel = value;
  markNeedsSemanticsUpdate();
}