invalidateScopeData method Null safety

  1. @mustCallSuper
  2. @protected
void invalidateScopeData(
  1. FocusScopeNode node
)
mustCallSuper">@mustCallSuperprotected">@protected

Clears the data associated with the given FocusScopeNode for this object.

This is used to indicate that the focus policy has changed its mode, and so any cached policy data should be invalidated. For example, changing the direction in which focus is moving, or changing from directional to next/previous navigation modes.

The default implementation does nothing.

Implementation

@mustCallSuper
@protected
void invalidateScopeData(FocusScopeNode node) {}