label property Null safety
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:
- SemanticsConfiguration.label for a description of how this is exposed in TalkBack and VoiceOver.
- attributedLabel for an AttributedString version of this property.
Implementation
final String? label;