onSemanticsEnabledChanged property

VoidCallback? get 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;
set onSemanticsEnabledChanged (VoidCallback? callback)

Implementation

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