semanticLabel property

String? semanticLabel
final

The semantic label for screen readers.

When non-null, this label replaces the semantics of child: the child's own text is excluded so the control is announced once, by this name, on a single node. Leave it null when child should name the control itself (e.g. a list tile's title and subtitle).

Implementation

final String? semanticLabel;