onSemanticsEnabledChanged property Null safety

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
ui.VoidCallback? get onSemanticsEnabledChanged => _platformDispatcher.onSemanticsEnabledChanged;
void onSemanticsEnabledChanged=(VoidCallback? callback)
override

Implementation

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