enhanced_paginated_view 2.0.3
enhanced_paginated_view: ^2.0.3 copied to clipboard
the enhanced paginated view is one of a kind widget that support pagination
[2.0.2] #
Added #
- Pull-to-Refresh Support: Introduced the
onRefresh
callback, allowing users to refresh the list by pulling down. If not provided, the refresh indicator will be disabled. - Custom Refresh Indicator: Added
refreshBuilder
, enabling users to define a custom refresh indicator. If not specified, the default refresh indicator will be used.
[2.0.1] #
Removed #
- flutter_svg Dependency: Eliminated reliance on the
flutter_svg
package to reduce dependencies.
[2.0.0] #
Added #
- Sliver Support: Now supports slivers for better integration with
CustomScrollView
. - Customization Options: Introduced new properties for customization:
- Custom loading widget
- Custom error widget
- Custom empty widget
- Custom scroll physics
- New Direction Control: Added the
direction
property, allowing users to control the list direction viaEnhancedViewDirection
. - EnhancedDelegate: Introduced
EnhancedDelegate
to provide greater control over list behavior and widget customization.
Breaking Changes #
- State Management Update:
showLoading
andshowError
were removed in favor ofEnhancedStatus
.shouldDeduplicate
renamed toremoveDuplicates
.isMaxReached
renamed tohasReachedMax
.
[1.0.7] #
[1.0.5] #
Added #
- Pagination Enhancements:
- Introduced
itemsPerPage
to improve page number calculations. - Added
shouldDeduplicate
to remove duplicate items. - New
enhancedDeduplication()
extension method to handle duplicate removal.
- Introduced
[1.0.4] #
Improved #
- Performance Enhancements: Optimized loading behavior by removing
LoadingModes
in favor of a more efficientonLoadMore
trigger mechanism.
[1.0.2] #
Improved #
- OnLoadMore Performance: Introduced new loading behaviors:
LoadingMode.smooth
: TriggersonLoadMore
when scrolling reaches 75%.LoadingMode.restrict
: TriggersonLoadMore
at 100%.
Added #
- Default Widgets:
- New
emptyWidget
. - New
LoadingWidget
. - New
errorWidget
.
- New
- Custom ScrollPhysics: Users can now modify the
ScrollPhysics
of the list.