pagify 0.3.0
pagify: ^0.3.0 copied to clipboard
A flexible and customizable Flutter package for handling paginated data with minimal setup.
Changelog #
All notable changes to the Pagify package will be documented in this file.
The format is based on Keep a Changelog.
0.3.0 #
Added #
Pagify.pageViewconstructor forPageView-based pagination.refreshmethod onPagifyControllerto programmatically refresh data.itemsgetter onPagifyControllerfor direct access to the current list.- Helper getters:
isLoading,isError,isSuccessonPagifyController. loadMoremethod for manual pagination triggers.listLengthgetter for quick access to the current item count.
Changed #
- Improved refresh logic and scroll position handling.
- Initialized
_totalPagesfor safer early access.
Removed #
- Lottie dependency and all Lottie-based animations.
PagifyRefreshIndicatorwidget (refresh is now handled internally).
0.2.6 #
0.2.4 #
0.2.0 #
Added #
retryfunction onPagifyController.onConnectivityChangedcallback for network status changes.- Helper functions:
isLoading,isError,isSuccess. loadMoreand list data access utilities on the controller.
Changed #
- Enhanced
onErrorcallback withApiRequestExceptionfor full control over error handling. BuildContextis now provided in important callbacks.- Toast notifications are now optional (removed by default).
- Fully documented all public APIs.
0.0.5 #
Added #
- Network connectivity monitoring via
connectivity_plus. - Connection status stream for reactive network state handling.
- Reverse pagination support.
moveToTop/moveToBottomcontroller methods.currentPageparameter inonSuccessandonErrorcallbacks.- Empty list state handling with customizable view.
Changed #
- Updated controller and main class architecture.
- Improved notification logic when adding new items.
Fixed #
- List alignment issues when using reverse mode.
- Adding elements to an empty list.
0.0.3 #
0.0.1 #
Added #
- Initial release of Pagify.
- Paginated data fetching with automatic scroll-based loading.
- Support for both Dio and http packages.
RefreshIndicatorintegration with proper state management.- Customizable error and loading widget builders.
- Network error handler with retry support.
- Controller pattern for managing pagination state.