unregisterPopEntry method

void unregisterPopEntry(
  1. PopEntry<Object?> popEntry
)

Unregisters a PopEntry in the route's widget subtree.

See also:

Implementation

void unregisterPopEntry(PopEntry<Object?> popEntry) {
  _popEntries.remove(popEntry);
  popEntry.canPopNotifier.removeListener(_maybeDispatchNavigationNotification);
  _maybeDispatchNavigationNotification();
}