takePendingExitPhantomAnchors method

Map<TKey, TKey>? takePendingExitPhantomAnchors()

Returns and clears the staged exit-phantom relationships. Companion to takePendingPhantomAnchors for the visible-to-hidden case.

Internal contract — sliver-render-object-specific.

Implementation

Map<TKey, TKey>? takePendingExitPhantomAnchors() {
  final result = _pendingExitPhantomAnchors;
  _pendingExitPhantomAnchors = null;
  return result;
}