body_builder 1.0.9 body_builder: ^1.0.9 copied to clipboard
BodyBuilder is a widget that manage the loading of your data
1.0.9 #
onBeforeRefresh
is now a VoidCallback? instead of a ValueChanged<T?>?onRefresh
is now a VoidCallback? instead of a ValueChanged<T?>?- Fix method
hasData
inBodyState
when there are more than one provider - Fix method
clear
inRelatedPaginatedStates
andStateProvider
.notifyListeners
is now called after the clear operation
1.0.8 #
- Fix issue with nbHits not being updated when no data are available
1.0.6 #
PaginatedBase
andPaginatedState
now supportnbHits
to help keeping track of a counter.
1.0.5 #
- In
BodyProvider#resolve
in order to avoid being in a situation with no data,allowData
is now set to true (by force) if the state has no data.
1.0.4 #
- Add method
normalizeQuery(String? query)
toPaginatedState
for more flexible query normalization - Add static getter
Iterable<String> get queries
toPaginatedState
- 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
,loadMoreBuilder
andloadMoreLabel
to the widgetLoadMore
to allow more customization of the load more button.
1.0.1 #
- Updated the
README.md
to fix the broken links
1.0.0 #
- Initial version of the body builder