toExternal method

  1. @override
void toExternal(
  1. String newUrl, {
  2. bool openNewTab = false,
})
inherited

Goes to an url which is not in the app

On the web, you can set openNewTab to true to open this url in a new tab

Also see:

  • to if you don't need segment encoding
  • toSegments if you need your path segments to be encoded
  • toNamed if you want to navigate by name

Implementation

@override
void toExternal(String newUrl, {bool openNewTab = false}) =>
    vRouterDelegate.toExternal(
      newUrl,
      openNewTab: openNewTab,
    );