tree: 6d2584157bcaa005756dc3de311354aa7c841441 [path history] [tgz]
  1. android/
  2. example/
  3. ios/
  4. lib/
  5. macos/
  6. BUILD.gn
  7. CHANGELOG.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
connectivity_macos/README.md

connectivity_macos

The macos implementation of [connectivity].

Usage

Import the package

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

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

...
dependencies:
  ...
  connectivity: ^0.4.8
  ...

Refer to the connectivity documentation for more details.