Category : Cache

wuchuheng_imap_cache is a data-driven caching library based on the IMAP protocol. Features Data Cache Timed synchronization Related event subscriptions Getting started Depend on it Run this command: With Dart: $ dart pub add wuchuheng_imap_cache With Flutter: $ flutter pub add wuchuheng_imap_cache This will add a line like this to your package’s pubspec.yaml (and run an implicit dart pub ..

Read more

BREAKING CHANGES IN V2 CacheManager v2 introduced some breaking changes when configuring a custom CacheManager. See the bottom of this page for the changes. flutter_cache_manager A CacheManager to download and cache files in the cache directory of the app. Various settings on how long to keep a file can be changed. It uses the cache-control http ..

Read more

Flutter library for fetching, caching and invalidating asynchronous data Quick Features Fetch asynchronous data Data invalidation Optimistic response Reset cache Motivation How to do API calls in Flutter? Probably, majority would answer by using Dio.But the real question would be, how to integrate API calls in Flutter arhitecture seamless? One way would be to use FutureBuilder or maybe Bloc like ..

Read more

A tidy utility to handle cache of your flutter app like a Boss. It provides support for both iOS and Android platforms (offcourse). Installing dependencies: cache_manager: ^<latest_version> Awesome Features Cache Utilities CacheManagerUtils.conditionalCache({key, valueType, actionIfNull, actionIfNotNull}) Conditional builder based on the value of cache. actionIfNull & actionIfNotNull are dynamic arguments used for Navigation through views, Rendering UI, Debugging values etc. ..

Read more

Cached network image A flutter library to show images from the internet and keep them in the cache directory. How to use The CachedNetworkImage can be used directly or through the ImageProvider. Both the CachedNetworkImage as CachedNetworkImageProvider have minimal support for web. It currently doesn’t include caching. With a placeholder: CachedNetworkImage( imageUrl: “http://via.placeholder.com/350×150”, placeholder: (context, ..

Read more