onFrameDataChanged property

VoidCallback? get onFrameDataChanged

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

Implementation

VoidCallback? get onFrameDataChanged => _onFrameDataChanged;
set onFrameDataChanged (VoidCallback? callback)

Implementation

set onFrameDataChanged(VoidCallback? callback) {
  _onFrameDataChanged = callback;
  _onFrameDataChangedZone = Zone.current;
}