updateSemantics method
- @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
- SemanticsUpdate update
override
Change the retained semantics data about this FlutterView.
PlatformDispatcher.setSemanticsTreeEnabled must be called with true before sending update through this method.
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);
}