RedirectNavigateCallback typedef

RedirectNavigateCallback = bool? Function(String url)

A callback invoked before a redirect flow navigates to the given url.

  • Returning false will prevent navigation from happening.
  • Returning true or null will allow the navigation to continue.

Implementation

typedef RedirectNavigateCallback = bool? Function(String url);