semanticLabel property

String? semanticLabel
final

The semantic label of the dialog used by accessibility frameworks to announce screen transitions when the dialog is opened and closed.

If this label is not provided, a semantic label will be infered from the title if it is not null. If there is no title, the label will be taken from MaterialLocalizations.alertDialogLabel.

See also:

  • SemanticsConfiguration.isRouteName, for a description of how this value is used.

Implementation

final String? semanticLabel;