-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When trying to implement pagination by adding reels into a list, a range error occurs if we attempt to append new reels beyond the expected range. This makes it difficult to properly handle infinite scrolling or load-more functionality.
Steps to Reproduce:
- Initialize a list of reels.
- Try to load more reels and append them to the existing list.
- Observe the RangeError when the index exceeds the expected range.
Expected Behavior:
The package should provide a clean way to implement pagination or incremental loading so that new reels can be added to the list without hitting range issues.
Actual Behavior:
Appending reels to the list leads to a RangeError when the index goes out of bounds.
Possible Solutions:
- Provide a built-in pagination mechanism.
- Allow the list to dynamically resize or handle appended data gracefully.
- Document best practices for implementing pagination with this package.
Environment:
- reels package version:
1.0.0 - Flutter version:
3.27.2 - Platform: Android
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request