/open_url

Dart lib to open a URL on the user's default application.

Primary LanguageDartMIT LicenseMIT

open_url

Simple package to open URLs on the user's default application, using the platform's default utility:

  • start on Windows.
  • xdg-open on Linux.
  • open on MacOS.

This is normally used to display a website on a browser.

This package can only be used when running on the Dart VM.

On Flutter, use the url_launcher package instead.

On the Web, use window.open().