flutter_cached 5.0.2
flutter_cached: ^5.0.2 copied to clipboard
🧾 Flutter widget allowing cache-based data display featuring swipe-to-refresh and an error banner.
5.0.2 - 2020-05-12 #
- Update
rxdartdependency.
5.0.1 - 2020-05-06 #
- Add
hasNoDatagetter toCacheSnapshot.
5.0.0 - 2020-04-27 #
- Complete rewrite.
4.2.7 - 2020-03-12 #
- Add
StreamedCacheController.
4.2.6 - 2020-03-12 #
- Calling
updatesmultiple times on a singleCacheControlleronly callsfetchonce.
4.2.5 - 2020-03-11 #
- Calling
fetchon aCacheControllernow always calls thefetcher.
4.2.4 - 2020-02-28 #
CacheController'sfetchis now automatically called when listening to theupdatesstream.
4.2.3 - 2020-02-28 #
- Fix error in
CachedRawBuilder.
4.2.2 - 2020-02-28 #
- Fix error in
SimpleController.
4.2.1 - 2020-02-23 #
- Add
mapmethod toCacheController.
4.1.1 - 2020-02-13 #
- Make
CacheUpdate's (default) constructor public under the name.raw(…).
4.1.0 - 2020-02-13 #
- There are now several utility controllers: You can create a controller from a stream of controllers, a list of controllers as well as a list of
CacheUpdates.
4.0.0 - 2020-01-24 #
- Refactored
CacheController: There are now two concreteCacheControllerimplementations: TheSimpleCacheControllerand thePaginatedCacheController. - The
CacheUpdategot several fancy constructors (initial,loading,cached,success,error) and getters (isNotFetching,hasNoData,hasNoError). - The readme got revised quite a bit.
3.2.0 - 2020-01-24 #
- Create
CacheControllerinterface and rename formerCacheControllertoCacheControllerImpl. - Create
PaginatedListView.
3.1.0 - 2020-01-24 #
- Add
PaginatedCacheController.
3.0.1 - 2019-11-09 #
- Fix
CacheController, where the data would be saved to the cache but not being sent directly to the updates streams.
3.0.0 - 2019-11-02 #
- When calling
loadFromCache, theCacheControlleronly catchesNotInCacheExceptions, not all possible errors. That makes it simpler to debug, because you need to explicitly throw this error if the cache is empty. Other errors will still bubble up to the debugger. - The
CacheUpdatenow also contains astackTraceif it contains anerror. That makes debugging even easier.
2.1.1 - 2019-11-02 #
- You don't need to call
disposeanymore. If you want to listen to multiple update streams of the same controller, just requestupdatesmultiple times.
2.1.0 - 2019-11-02 #
- Optionally provide a
controllerBuilderinstead of acontrollerto theCachedRawBuilderor theCachedBuilder.disposeis called automatically.
2.0.2 - 2019-10-14 #
- Provide
lastDataandlastErrorgetters onCacheController.
2.0.1 - 2019-10-12 #
- Update examples.
- Complete transition to
flutter_cached. - Remove
list_diffdependency.
2.0.0 - 2019-10-12 #
- Complete overhaul of the API.
- Package moved to
flutter_cached.
1.1.5 - 2019-10-11 #
- Add more examples to the demo. Now all abstraction levels are covered.
- Fix unbound vertical height issue caused by
AnimatedCrossFade.
1.1.4 - 2019-10-11 #
- Fix type propagation on
CacheController'supdates.
1.1.3 - 2019-10-06 #
- We now depend on the
pull_to_refreshpackage so that we can start the refresh indicator programatically. - Fix missing meta dependency.
1.1.2 - 2019-10-05 #
CachedListViewnow takes either anitemBuilderfor building the items directly one after another in an index-agnostic deterministic way or it takes anitemSliverBuilderfor transforming all the items into slivers simultaneously, allowing for changing the order, grouping etc of items.
1.1.1 - 2019-10-04 #
- Fix type propagation for
CachedCustomScrollView.
1.1.0 - 2019-10-04 #
- Add abstraction level below
CachedListView:CachedCustomScrollView. - Rename
CacheManagertoCacheController. - Update readme to reflect changes and display screenshots in table.
1.0.0 - 2019-10-04 #
- Add
CacheManagerandCachedListView.