semanticLabel property

String? semanticLabel
final

VoiceOver / TalkBack label for icon-only variants.

Ignored when label is non-null (the visible text already serves as the accessibility label). When the button shows only an icon and label is null, the default announcement is an empty string — use semanticLabel to give it a meaningful name:

GlassPullDownButton(
  icon: Icon(CupertinoIcons.ellipsis_circle),
  semanticLabel: 'More options',
  items: [...],
)

Implementation

final String? semanticLabel;