onFrameDataChanged property Null safety
A callback that is invoked when the window updates the FrameData.
Implementation
VoidCallback? get onFrameDataChanged => _onFrameDataChanged;
Implementation
set onFrameDataChanged(VoidCallback? callback) {
_onFrameDataChanged = callback;
_onFrameDataChangedZone = Zone.current;
}