attributedLabel property Null safety

AttributedString? attributedLabel

Provides a AttributedString version of textual description of the widget.

If a attributedLabel is provided, there must either by an ambient Directionality or an explicit textDirection should be provided.

Callers must not provide both label and attributedLabel. One or both must be null.

See also:


final AttributedString? attributedLabel;