onSemanticsEnabledChanged property

  1. @override
VoidCallback? onSemanticsEnabledChanged
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;
  1. @override
void onSemanticsEnabledChanged=(VoidCallback? callback)
override

Implementation

@override
set onSemanticsEnabledChanged(VoidCallback? callback) {
  _platformDispatcher.onSemanticsEnabledChanged = callback;
}