invalidateScopeData method
- FocusScopeNode node
override
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
@override
void invalidateScopeData(FocusScopeNode node) {
super.invalidateScopeData(node);
_policyData.remove(node);
}