-
Notifications
You must be signed in to change notification settings - Fork 2
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
Index in builder function #5
Comments
Hi! having an index in the builder is a valid use case. You're welcome to fork (it's just <200 lines of code anyway) or use any of the packages using diffutil_dart with more batteries included - like https://pub.dev/packages/great_list_view |
Thanks for the quick response. It would be a breaking change, but that's what semantic versioning is for, right? :) Of course, I fully understand if you don't want to commit to that, in which case a fork seems like a reasonable option. I've had a look at great_list_view before, but it seemed incredibly daunting for the sliver use case, which would not be able to make use of the batteries included |
But when is
|
I'd like to have access to an item's index in the builder function, in addition to the existing
BuildContext
and itemT
. If needed, I could offer this change myself in a PR. Let me know!The text was updated successfully, but these errors were encountered: