semanticLabel property

String? semanticLabel

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

In iOS, if this label is not provided, a semantic label will be inferred from the title if it is not null.

In Android, if this label is not provided, the dialog will use the MaterialLocalizations.alertDialogLabel as its label.

See also:


final String? semanticLabel;