label property Null safety

String? label
final

Provides a textual description of the widget.

If a label 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 String? label;