tree: f988c8e89b4353f9315bb79ef9861f6708d8766d [path history] [tgz]
  1. android/
  2. example/
  3. ios/
  4. lib/
  5. macos/
  6. CHANGELOG.md
  7. LICENSE
  8. pubspec.yaml
  9. README.md
packages/url_launcher/url_launcher_macos/README.md

url_launcher_macos

The macos implementation of url_launcher.

Please set your constraint to url_launcher_macos: '>=0.0.y+x <2.0.0'

Backward compatible 1.0.0 version is coming

The plugin has reached a stable API, we guarantee that version 1.0.0 will be backward compatible with 0.0.y+z. Please use url_launcher_macos: '>=0.0.y+x <2.0.0' as your dependency constraint to allow a smoother ecosystem migration. For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0

Usage

Import the package

This package has been endorsed, meaning that you only need to add url_launcher as a dependency in your pubspec.yaml. It will be automatically included in your app when you depend on package:url_launcher.

This is what the above means to your pubspec.yaml:

...
dependencies:
  ...
  url_launcher: ^5.4.1
  ...

If you wish to use the macos package only, you can add url_launcher_macos as a dependency:

...
dependencies:
  ...
  url_launcher_macos: ^0.0.1
  ...