onFrameDataChanged property

  1. @override
  2. @Deprecated('Use WidgetTester.platformDispatcher.onFrameDataChanged instead. ' 'Deprecated to prepare for the upcoming multi-window support. ' 'This feature was deprecated after v3.9.0-0.1.pre.')
VoidCallback? onFrameDataChanged
override

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

Implementation

@override
@Deprecated(
  'Use WidgetTester.platformDispatcher.onFrameDataChanged instead. '
  'Deprecated to prepare for the upcoming multi-window support. '
  'This feature was deprecated after v3.9.0-0.1.pre.'
)
VoidCallback? get onFrameDataChanged => platformDispatcher.onFrameDataChanged;
  1. @Deprecated('Use WidgetTester.platformDispatcher.onFrameDataChanged instead. ' 'Deprecated to prepare for the upcoming multi-window support. ' 'This feature was deprecated after v3.9.0-0.1.pre.')
  2. @override
void onFrameDataChanged=(VoidCallback? value)
override

Implementation

@Deprecated(
  'Use WidgetTester.platformDispatcher.onFrameDataChanged instead. '
  'Deprecated to prepare for the upcoming multi-window support. '
  'This feature was deprecated after v3.9.0-0.1.pre.'
)
@override
set onFrameDataChanged(VoidCallback? value) {
  platformDispatcher.onFrameDataChanged = value;
}