toExternal abstract method
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
void toExternal(String url, {bool openNewTab = false});