-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented InfiniteScrollListView and Fixed Tests #23
Implemented InfiniteScrollListView and Fixed Tests #23
Conversation
The following error is occurring in GitHub Actions:
This issue can be resolved by merging #20. |
/// A widget that provides infinite scrolling functionality to ListView or GridView. | ||
/// | ||
/// This widget fetches data of type T using the fetch method when the user scrolls | ||
/// the list or grid and calls the itemBuilder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// the list or grid and calls the itemBuilder. | |
/// the list or grid and calls the [itemBuilder]. |
import 'package:patapata_core/patapata_core.dart'; | ||
import 'package:provider/provider.dart'; | ||
|
||
/// A widget that provides infinite scrolling functionality to ListView or GridView. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// A widget that provides infinite scrolling functionality to ListView or GridView. | |
/// A widget that provides infinite scrolling functionality to [ListView] or [GridView]. |
|
||
/// A widget that provides infinite scrolling functionality to ListView or GridView. | ||
/// | ||
/// This widget fetches data of type T using the fetch method when the user scrolls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// This widget fetches data of type T using the fetch method when the user scrolls | |
/// This widget fetches data of type [T] using either of the [fetchNext] or [fetchPrevious] methods when the user scrolls |
21e4cc4
to
c89d645
Compare
Issue Number
fixes #21
fixes #22
Summary
Feat: Implemented InfiniteScrollListView
This widget dynamically fetches data as the user scrolls and supports both forward and backward scrolling. Additionally, it includes an initialIndex parameter to specify the initial display position in the list or grid, allowing data to be displayed starting from a specific position.
Fix: Fixed flutter test Failure on Windows