onSemanticsEnabledChanged property

VoidCallback? onSemanticsEnabledChanged

A callback that is invoked when the value of semanticsEnabled changes.

The framework invokes this callback in the same zone in which the callback was set.

Implementation

VoidCallback? get onSemanticsEnabledChanged => _onSemanticsEnabledChanged;
void onSemanticsEnabledChanged=(VoidCallback? callback)

Implementation

set onSemanticsEnabledChanged(VoidCallback? callback) {
  _onSemanticsEnabledChanged = callback;
  _onSemanticsEnabledChangedZone = Zone.current;
}