app_preference 0.2.1 copy "app_preference: ^0.2.1" to clipboard
app_preference: ^0.2.1 copied to clipboard

A library that makes accessing shared preferences or secured storage a lot easier. It handles the common use case that reads or write preferences. It also supports read and write serializable complex [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add app_preference

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  app_preference: ^0.2.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:app_preference/app_preference.dart';
2
likes
140
points
79
downloads

Publisher

verified publisherpub.timnew.me

Weekly Downloads

A library that makes accessing shared preferences or secured storage a lot easier. It handles the common use case that reads or write preferences. It also supports read and write serializable complex types in a type-safe way. It also supports listening to the value changes. It exposes its values as mobx observable values, but it can actually works with any state management library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logging, mobx

More

Packages that depend on app_preference