unregisterNavigationCallback method

void unregisterNavigationCallback(
  1. ValueKey<String> pageKey
)

Unregisters a navigation callback for a specific page.

Implementation

void unregisterNavigationCallback(ValueKey<String> pageKey) {
  _navigationCallbacks.remove(pageKey);
}