onSemanticsEnabledChanged property
override
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
@override
VoidCallback? get onSemanticsEnabledChanged => _platformDispatcher.onSemanticsEnabledChanged;
override
Implementation
@override
set onSemanticsEnabledChanged(VoidCallback? callback) {
_platformDispatcher.onSemanticsEnabledChanged = callback;
}