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
onRefreshcallback, 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_svgpackage 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
directionproperty, allowing users to control the list direction viaEnhancedViewDirection. - EnhancedDelegate: Introduced
EnhancedDelegateto provide greater control over list behavior and widget customization.
Breaking Changes #
- State Management Update:
showLoadingandshowErrorwere removed in favor ofEnhancedStatus.shouldDeduplicaterenamed toremoveDuplicates.isMaxReachedrenamed tohasReachedMax.
1.0.7 #
1.0.5 #
Added #
- Pagination Enhancements:
- Introduced
itemsPerPageto improve page number calculations. - Added
shouldDeduplicateto remove duplicate items. - New
enhancedDeduplication()extension method to handle duplicate removal.
- Introduced
1.0.4 #
Improved #
- Performance Enhancements: Optimized loading behavior by removing
LoadingModesin favor of a more efficientonLoadMoretrigger mechanism.
1.0.2 #
Improved #
- OnLoadMore Performance: Introduced new loading behaviors:
LoadingMode.smooth: TriggersonLoadMorewhen scrolling reaches 75%.LoadingMode.restrict: TriggersonLoadMoreat 100%.
Added #
- Default Widgets:
- New
emptyWidget. - New
LoadingWidget. - New
errorWidget.
- New
- Custom ScrollPhysics: Users can now modify the
ScrollPhysicsof the list.