simple_cached_value 1.0.1 copy "simple_cached_value: ^1.0.1" to clipboard
simple_cached_value: ^1.0.1 copied to clipboard

Provide a simple way to cache values in Flutter applications using in-memory storage or persistent storage with Shared Preferences.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add simple_cached_value

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

dependencies:
  simple_cached_value: ^1.0.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:simple_cached_value/simple_cached_value.dart';
0
likes
150
points
80
downloads

Publisher

unverified uploader

Weekly Downloads

Provide a simple way to cache values in Flutter applications using in-memory storage or persistent storage with Shared Preferences.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, shared_preferences

More

Packages that depend on simple_cached_value

Packages that implement simple_cached_value