FirebaseUI-Flutter
FirebaseUI-Flutter copied to clipboard
feat(ui_firestore): Expose index to FirestoreItemBuilder
Description
This PR exposes the itemBuilder index in FirestoreListView and FirestoreListView.separated to be consistent with flutter's ListView.builder and ListView.separated. There are situations where an index is required, such as when numbering the list of items in the list view.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.
- [X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
- [X] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
- [X] All existing and new tests are passing.
- [X] I updated/added relevant documentation (doc comments with
///). - [X] The analyzer (
melos run analyze) does not report any problems on my PR. - [X] All unit tests pass (
melos run test:unit:alldoesn't fail). - [X] I read and followed the Flutter Style Guide.
- [X] I signed the CLA.
- [X] I am willing to follow-up on review comments in a timely manner.
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
- [X] Yes, this is a breaking change.
- [ ] No, this is not a breaking change.
Hello 👋, this PR has been opened for more than 2 months with no activity on it.
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!
You have 15 days until this gets closed automatically
@russellwheatley Fix still valid.
Hello 👋, this PR has been opened for more than 2 months with no activity on it.
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!
You have 15 days until this gets closed automatically
@russellwheatley can this be merged?
@jt274 - it seems fair enough to me. I've merged with latest main branch and reran the workflow
Hello 👋, this PR has been opened for more than 2 months with no activity on it.
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!
You have 15 days until this gets closed automatically
Hello 👋, this PR has been opened for more than 2 months with no activity on it.
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!
You have 15 days until this gets closed automatically
@russellwheatley I'm not sure if this is completed yet, as it didn't appear to make it into the last pub release after you merged.
Hello 👋, this PR has been opened for more than 2 months with no activity on it.
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!
You have 15 days until this gets closed automatically
@russellwheatley apparently was merged, but does not seem to be released yet.
Hello 👋, this PR has been opened for more than 2 months with no activity on it.
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!
You have 15 days until this gets closed automatically
@russellwheatley Still not released?
Hey @jt274 - you need to either update this PR or create a new one. It wasn't merged with main, I just ran the CI. You need to completely remove anything not related to the exposing the index to FirestoreItemBuilder
@jt274 @russellwheatley, can this task be done already, please!
@russellwheatley branch should be fixed!