changedScope method

  1. @mustCallSuper
void changedScope(
  1. {FocusNode? node,
  2. FocusScopeNode? oldScope}
)

This is called whenever the given node is re-parented into a new scope, so that the policy has a chance to update or invalidate any cached data that it maintains per scope about the node.

The oldScope is the previous scope that this node belonged to, if any.

The default implementation does nothing.

Implementation

@mustCallSuper
void changedScope({FocusNode? node, FocusScopeNode? oldScope}) {}