updateSemantics method

  1. @Deprecated('Use WidgetTester.view.updateSemantics(update) instead. ' 'Deprecated to prepare for the upcoming multi-window support. ' 'This feature was deprecated after v3.9.0-0.1.pre.')
  2. @override
void updateSemantics(
  1. SemanticsUpdate update
)
override

Change the retained semantics data about this FlutterView.

If PlatformDispatcher.semanticsEnabled is true, the user has requested that this function be called whenever the semantic content of this FlutterView changes.

This function disposes the given update, which means the semantics update cannot be used further.

Implementation

@Deprecated(
  'Use WidgetTester.view.updateSemantics(update) instead. '
  'Deprecated to prepare for the upcoming multi-window support. '
  'This feature was deprecated after v3.9.0-0.1.pre.'
)
@override
void updateSemantics(SemanticsUpdate update) {
  _view.updateSemantics(update);
}