liveRegion property Null safety

bool? liveRegion
final

If non-null, whether the node should be considered 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.

On iOS, no announcements are made but the node is marked as UIAccessibilityTraitUpdatesFrequently.

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:

Implementation

final bool? liveRegion