updateSemantics method

  1. @override
void updateSemantics(
  1. SemanticsUpdate update
)
override

Change the retained semantics data about this platform dispatcher.

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

In either case, this function disposes the given update, which means the semantics update cannot be used further.

Implementation

@override
void updateSemantics(SemanticsUpdate update) {
  // Using the deprecated method to maintain backwards compatibility during
  // the multi-view transition window.
  // ignore: deprecated_member_use
  _platformDispatcher.updateSemantics(update);
}