simple_cached_future_builder 0.1.2 copy "simple_cached_future_builder: ^0.1.2" to clipboard
simple_cached_future_builder: ^0.1.2 copied to clipboard

A simplified FutureBuilder with basic caching abilities to not fetch new data on each rebuild.

0.1.2 #

  • Fixed future being re-subscribed on every build() call — it is now stored in initState.
  • Fixed nested FutureBuilder for cache-existence check that caused an unnecessary loading-widget frame on every rebuild.
  • Fixed wrong map key in CacheManager.timeLeftFor (_timers[simpleCache]_timers[simpleCache.tag]).
  • Added didUpdateWidget override to re-resolve the future when the cache tag changes.
  • Improved example app

0.1.1 #

  • Update description.

0.1.0 #

  • Initial development release.
3
likes
150
points
100
downloads
screenshot

Documentation

API reference

Publisher

verified publisherapps.arvidnystrom.se

Weekly Downloads

A simplified FutureBuilder with basic caching abilities to not fetch new data on each rebuild.

Repository (GitHub)
View/report issues

Topics

#network #futurebuilder #cache

License

MIT (license)

Dependencies

flutter

More

Packages that depend on simple_cached_future_builder