semanticsLabel property

String? semanticsLabel
final

An optional Semantics label, applied to the entire MenuItemButton.

A screen reader will default to reading the derived text on the MenuItemButton itself, which is not guaranteed to be readable. (For some shortcuts, such as comma, semicolon, and other punctuation, screen readers read silence)

Setting this label overwrites the semantics properties of the entire Widget, including its children. Consider wrapping this widget in Semantics if you want to customize other properties besides just the label.

Null by default.

Implementation

final String? semanticsLabel;