addSemanticsEnabledListener method

void addSemanticsEnabledListener(
  1. VoidCallback listener
)

Adds a listener to be called when semanticsEnabled changes.

See also:

Implementation

void addSemanticsEnabledListener(VoidCallback listener) {
  _semanticsEnabled.addListener(listener);
}