dynamic_cache 1.0.4 copy "dynamic_cache: ^1.0.4" to clipboard
dynamic_cache: ^1.0.4 copied to clipboard

A complete in-memory cache in Flutter. Inspired by IMemoryCache from C# and Others tools.

Dynamic Cache #

A complete in-memory cache in Flutter. Quickly retrieve an object by context and use it in Stream Builder, Value Listenable Builder or by instance in business logic. All changes will be reflected in both methods.

Features #

  • Wrapper DynamicCacheProvider is for the injection of the cache on context for use in the three.
  • Dynamic Cache can be used directly with ValueListenableBuilder and StreamBuilder widget, but preferably in business logic.
  • Automatic cache cleaning, with the possibility of setting a time expiration for each item.
  • Control notify listeners when the cache is updated.

Usage DynamicCache #


First, you need to import the package:

import 'package:dynamic_cache/dynamic_cache.dart';

For complete example, check the example section.

2
likes
140
pub points
14%
popularity

Publisher

verified publisherrdrgbaioco.dev

A complete in-memory cache in Flutter. Inspired by IMemoryCache from C# and Others tools.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dynamic_cache