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
rxdart
dependency.
[5.0.1] - 2020-05-06 #
- Add
hasNoData
getter toCacheSnapshot
.
[5.0.0] - 2020-04-27 #
- Complete rewrite.
[4.2.7] - 2020-03-12 #
- Add
StreamedCacheController
.
[4.2.6] - 2020-03-12 #
- Calling
updates
multiple times on a singleCacheController
only callsfetch
once.
[4.2.5] - 2020-03-11 #
- Calling
fetch
on aCacheController
now always calls thefetcher
.
[4.2.4] - 2020-02-28 #
CacheController
'sfetch
is now automatically called when listening to theupdates
stream.
[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
map
method 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
CacheUpdate
s.
[4.0.0] - 2020-01-24 #
- Refactored
CacheController
: There are now two concreteCacheController
implementations: TheSimpleCacheController
and thePaginatedCacheController
. - The
CacheUpdate
got 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
CacheController
interface and rename formerCacheController
toCacheControllerImpl
. - 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
, theCacheController
only catchesNotInCacheException
s, 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
CacheUpdate
now also contains astackTrace
if it contains anerror
. That makes debugging even easier.
[2.1.1] - 2019-11-02 #
- You don't need to call
dispose
anymore. If you want to listen to multiple update streams of the same controller, just requestupdates
multiple times.
[2.1.0] - 2019-11-02 #
- Optionally provide a
controllerBuilder
instead of acontroller
to theCachedRawBuilder
or theCachedBuilder
.dispose
is called automatically.
[2.0.2] - 2019-10-14 #
- Provide
lastData
andlastError
getters onCacheController
.
[2.0.1] - 2019-10-12 #
- Update examples.
- Complete transition to
flutter_cached
. - Remove
list_diff
dependency.
[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_refresh
package so that we can start the refresh indicator programatically. - Fix missing meta dependency.
[1.1.2] - 2019-10-05 #
CachedListView
now takes either anitemBuilder
for building the items directly one after another in an index-agnostic deterministic way or it takes anitemSliverBuilder
for 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
CacheManager
toCacheController
. - Update readme to reflect changes and display screenshots in table.
[1.0.0] - 2019-10-04 #
- Add
CacheManager
andCachedListView
.