How to bind a list to a subcollection of the users collection

Database & APIs

I'm using Firebase authentication and that has the users collection by default. I added a subcollection to that collection called history. My intention is that would contain a history for each user respectively.

After the user logged in they could navigate to a History page which would display that data. I cannot figure out how to bind the ListView on that History page: the history is not shown as a possible variable to select to bind to.

What have you tried so far?

I searched the community forums and StackOverflow, but none of the issues seem to match my problem enough that I'd be able to resolve this. On the screenshot below the first few shows the underlying data types and collections. I've read that collections can only be cascaded one time, I hope that using the two data types don't violate any cascading rules, because one type contains the other and the contained one has one list in it.

Did you check FlutterFlow's Documentation for this topic?
Yes
6 replies