onFrameDataChanged property Null safety

  1. @override
VoidCallback? onFrameDataChanged
override

A callback that is invoked when the window updates the FrameData.

Implementation

@override
ui.VoidCallback? get onFrameDataChanged => _platformDispatcher.onFrameDataChanged;
  1. @override
void onFrameDataChanged=(VoidCallback? value)
override

Implementation

@override
set onFrameDataChanged(ui.VoidCallback? value) {
  _platformDispatcher.onFrameDataChanged = value;
}