liveRegion property Null safety

bool liveRegion

Whether the semantics node is a live region.

On Android, when the label changes on a live region semantics node, TalkBack will make a polite announcement of the current label. This announcement occurs even if the node is not focused, but only if the label has changed since the last update.

An example of a live region is the SnackBar widget. When it appears on the screen it may be difficult to focus to read the label. A live region causes an initial polite announcement to be generated automatically.

See also:


bool get liveRegion => _hasFlag(SemanticsFlag.isLiveRegion);
void liveRegion=(bool value)


set liveRegion(bool value) {
  _setFlag(SemanticsFlag.isLiveRegion, value);