semanticLabel property

String? semanticLabel
final

Explicit semantic label for assistive technology (VoiceOver, TalkBack).

Recommended for icon-only toggles that have no visible label. When null, screen readers read label or the semantics of child.

Implementation

final String? semanticLabel;