riverpod_paging_utils 0.4.2 riverpod_paging_utils: ^0.4.2 copied to clipboard
A Flutter package that provides utilities for implementing pagination with Riverpod. It includes a generic PagingHelperView widget and mixins for page-based, offset-based, and cursor-based pagination.
0.4.2 - 2024-06-01 #
0.4.1 #
- Update Readme.
0.4.0 #
- Added support for using Riverpod providers with family and keepAlive: true.
0.3.1 #
- Added GIFs to README
0.3.0 #
- Added a screen for when an error occurs while fetching the second page and beyond.
- You can disable the new error screen by setting
showSecondPageError
tofalse
. - Added an example to
example
that demonstrates the behavior when an error occurs.
0.2.0 #
- Added PagingHelperViewTheme: Introduced a new ThemeExtension to enable highly customizable styling for the PagingHelperView widget. Developers can now easily tailor the loading, error, and end-of-list views to match their application's design.
ThemeData(
extensions: [
PagingHelperViewTheme(
loadingViewBuilder: (context) => CircularProgressIndicator(),
// ... other customizations
),
],
// ... rest of your theme
)
0.1.0 #
- Initial version.