scroll_infinity 0.5.2
scroll_infinity: ^0.5.2 copied to clipboard
ScrollInfinity is a Flutter package that provides a widget with infinite scrolling and paginated loading support, making it easier to build dynamic and endless listings.
0.5.2 - 2025-08-13 #
- Documentation Update: Standardized the README documentation to align with the formatting and style of other projects.
0.5.1 - 2025-08-03 #
-
Retry limiter and custom message: Added support to limit the number of retry attempts, displaying a custom message when the limit is reached.
-
Manual loading mode: Added
automaticLoadingandloadMoreBuilderproperties, allowing toggling between automatic and manual loading (with a "load more" button). -
Property renaming: Renamed
retryLimitReachedWidgettoretryLimitReachedfor naming consistency. -
Improved example:
- Added new customization options to the example project.
- Included a configurable screen demonstrating package usage with applied options on a second screen.
-
Enhanced documentation:
- Updated the package description.
- Added a section about the development environment.
- Added advanced usage examples and more detailed feature descriptions.
- Reorganized and grouped properties for easier reading.
- Added a subsection referencing the configurable example in the
exampledirectory. - Fixed minor documentation errors and inconsistencies.
-
Testing improvements: Tests reorganized and new cases added to ensure feature reliability.
-
Internal refactor: Removed unnecessary nullability from the generic type.
0.5.0 - 2025-07-30 #
-
Dynamic Index Feature: Introduced the
useRealItemIndexproperty to allow differentiation between real data item indexes and interval indexes. -
Improved Retry Behavior: The
errorproperty was removed and thetryAgainButtonBuilderwas renamed totryAgainBuilderfor clarity. Also fixed the retry button display logic. -
Continuous Fetching Reimplementation: The logic to fill the visible area with items was restructured for a smoother loading experience.
-
Component Cleanup and Simplification:
- Removed unused components, including
LoadingStyle,TryAgainButton, andMessageFieldWidget. - Standard message components have been removed.
- Removed unused components, including
-
Reset Behavior Fix: Corrected the list reset mechanism to preserve the original
initialItemswithout regenerating them. -
Internal Refactoring: Simplified and optimized the internal structure of the package for better maintainability.
-
Improved Examples:
- Restructured the usage example to better demonstrate the package.
- Applied standardizations and simplifications to improve clarity.
-
Testing: Added test cases to cover core functionalities.
-
Updated Documentation: Revised and expanded the documentation, including full usage examples and explanations of new features.
0.4.0 - 2024-01-02 #
- Restructuring of the Listing Algorithm: The algorithm has been rewritten to provide a more efficient and seamless user experience.
- Auto-fill Listing Feature: The listing now automatically fills itself whenever visible space is available on the screen.
- Empty List Indicator: A visual element has been added to clearly indicate when the list is empty.
- Component Reset During Requests: An automatic reset mechanism has been implemented for the component while a request is in progress, accompanied by an informative progress indicator.
- Retry Button for Errors: A retry button has been added for scenarios where the list does not contain enough items to fill the visible space due to an error.
- Code Improvements and Fixes: Various improvements and fixes have been made to enhance code quality and system performance.
- Updated Documentation: The documentation has been updated to reflect the new features of the package.
0.3.3 - 2024-07-06 #
- Added verification for
initialItemsto determine if the listing has reached the end, avoiding unnecessary loads.
0.3.2 - 2024-07-05 #
- Added
headerreset when not null in theresetmethod. - Renamed
ScrollInfinityInitialItemsNotifierclass toInitialItemsNotifier.
0.3.1 - 2024-07-05 #
- Added explanations on how to use interval and loader to facilitate the implementation of these features.
- Added and organized
assertstatements. - Fixed typing of the value sent to
itemBuilder. - Removed
?from the definition of theitemBuilderproperty.
0.3.0 - 2024-07-04 #
- Added
headerproperty to allow the addition of a header to the listing. - Created
ScrollInfinityInitialItemsNotifierto notify about the initial items. - Introduced
ScrollInfinityLoaderfor custom loading dynamics of initial items. - Added
enableRetryOnErroranderrorproperties for error handling and retry logic.
0.2.1 - 2024-07-03 #
- Fixed item duplication bug when no interval is used.
0.2.0 - 2024-07-02 #
- Added interval feature to allow adding a specific element within a certain interval.
- Added item index to
itemBuilderfor accessing the item's position in the list.
0.1.1 - 2024-06-26 #
- Added
initialPageIndexproperty to define the initial page index. - Renamed
pageKeytopageIndex. - Reorganized the order of properties.
0.1.0 - 2024-06-26 #
- Added reset feature.
- Improved documentation.
- Added
scrollbarsproperty to define the visibility state of the scrollbar.
0.0.2 - 2024-06-26 #
- Componentization and documentation of
LoadingStyle. - Added documentation for the package properties and methods.
- Added new properties to define the initial items of the list and to disable the initial request.
- Updated the package documentation.
0.0.1 - 2024-06-22 #
- First version.