body_builder 1.0.18
body_builder: ^1.0.18 copied to clipboard
BodyBuilder is a widget that manage the loading of your data
1.0.18 #
- Add missing setState in
BodyBuilder.
1.0.17 #
- Expose
stateinBodyBuilderState
1.0.16 #
LoadMoremay now trigger loadMoreIfNeeded indidChangeDependencies
1.0.15 #
- Add
CachedBodyProviderwhich can be used along with cache_annotations
1.0.14 #
- Fix
BodyState.hasDatawhich was not working properly when data was null.
1.0.13 #
StateProvider.itemsis now deprecated. UseStateProvider.datainsteadSimpleStateProvider.onFetchis now deprecated. UseSimpleStateProvider.oninsteadRelatedStateProvider.onFetchis now deprecated. UseRelatedStateProvider.oninsteadPaginatedState.onFetchis now deprecated. UsePaginatedState.oninstead
1.0.12 #
- Add a new parameter
MergeDataStrategyto allow different strategies when merging all providers data
1.0.11 #
- Bump
rxdartandcollectionversions
1.0.10 #
- Fix
setState() called after dispose()in BodyBuilderState
1.0.9 #
onBeforeRefreshis now a VoidCallback? instead of a ValueChanged<T?>?onRefreshis now a VoidCallback? instead of a ValueChanged<T?>?- Fix method
hasDatainBodyStatewhen there are more than one provider - Fix method
clearinRelatedPaginatedStatesandStateProvider.notifyListenersis now called after the clear operation
1.0.8 #
- Fix issue with nbHits not being updated when no data are available
1.0.6 #
PaginatedBaseandPaginatedStatenow supportnbHitsto help keeping track of a counter.
1.0.5 #
- In
BodyProvider#resolvein order to avoid being in a situation with no data,allowDatais now set to true (by force) if the state has no data.
1.0.4 #
- Add method
normalizeQuery(String? query)toPaginatedStatefor more flexible query normalization - Add static getter
Iterable<String> get queriestoPaginatedState - Add method
bool has(T item)toDataState
1.0.3 #
- Add missing calls to
notifyListeners()inRelatedStateProvider
1.0.2 #
- The method
BodyBuilder#_hasMore()is now public:BodyBuilder#hasMore() - Add parameter
useButton,loadMoreBuilderandloadMoreLabelto the widgetLoadMoreto allow more customization of the load more button.
1.0.1 #
- Updated the
README.mdto fix the broken links
1.0.0 #
- Initial version of the body builder