-
-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Is your feature request related to a problem? Please describe.
It's noted that the itemBuilder returns the documentSnapshot of the document in the given index, which is being iterated on. I'd like to get the list of snapshots from the firebase query, which would help me group the snapshots as per requirements.
Describe the solution you'd like
I did see a variable items in the package codebase, which may be exposed, for specific use cases. It's common for such packages, even firestore official package to return all the snapshot documents. But we are exposing snapshot document at a specific index.
Maybe we can expose the variable in a new constructor and use it as an alternative to itemBuilder
Describe alternatives you've considered
If I'd want to implement this approach right now, I'll have to maintain a local list with all the snapshots, run query on the local list and build widgets using that.
the callback function returning item at specific index, I'd like to get the entire items list exposed.

