onSemanticsEnabledChanged property
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;
Implementation
set onSemanticsEnabledChanged(VoidCallback? callback) {
_onSemanticsEnabledChanged = callback;
_onSemanticsEnabledChangedZone = Zone.current;
}