launchUrl method

void launchUrl(
  1. Uri url, {
  2. bool popup = false,
})

Opens the given url in a browser context.

This can be used to implement AuthHandlers or ApplicationVerifiers when they need to open an URL in a browser for sign in, reCAPTCHA, or other purposes.

Override this handler in setup using the launchUrl parameter if your application requires custom UI or navigation.

Implementation

void launchUrl(Uri url, {bool popup = false}) {
  _installation.launchUrl(url, popup: popup);
}