dispatchAccessibilityFeaturesChanged method Null safety

  1. @protected
  2. @mustCallSuper
void dispatchAccessibilityFeaturesChanged()

Notify all the observers that the active set of AccessibilityFeatures has changed (using WidgetsBindingObserver.didChangeAccessibilityFeatures), giving them the features argument.

This is called by handleAccessibilityFeaturesChanged when the PlatformDispatcher.onAccessibilityFeaturesChanged notification is received.

Implementation

@protected
@mustCallSuper
void dispatchAccessibilityFeaturesChanged() {
  for (final WidgetsBindingObserver observer in _observers)
    observer.didChangeAccessibilityFeatures();
}