attributedLabel property Null safety

AttributedString? attributedLabel
final

Provides an 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:

Implementation

final AttributedString? attributedLabel;