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

shared_preferences_macos

The macos implementation of shared_preferences.

Usage

Import the package

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

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

...
dependencies:
  ...
  shared_preferences: ^0.5.6
  ...

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

...
dependencies:
  ...
  shared_preferences_macos: ^0.0.1
  ...