Flutterflow Generate Dynamic Children functionality is not showing all children

Troubleshooting
Resolved

I'm building a mobile app (currently distributed only as a web app) where I'm trying to load data about sports games from my Firestore backend. I have a page with a backend query which queries a collection called "user_games" that has all the games for a specific user. A column in the page has children generated from a variable that holds the "user_games" collection. Each child has another backend query which fetches more information about the game from a "games" collection using a reference stored in each "user_games" document.

Issue faced - Only some of these games are shown on the page, whereas others are not shown i.e some children are not loading.

What have you tried so far?
  • There is no difference between the "game" document that is shown and the "game" document not shown i.e both documents are the same.

  • I've enabled and disabled CanvasKit - in both cases the issue persists

  • I've attached 3 images - one of them showing the issue, another showing the widget tree and the final one showing the structure of the page in flutterflow

(Issue Resolved EDIT):

  • The issue was with datatype mismatch between the collection definition within flutterflow and the actual collection definition in firestore - Flutterflow expected an integer, but the value was stored as a string

  • Flutterflow does not show any error for this mismatch and the loading indicator does not give any idea about what the issue was. My suggestion is that, if you face a similar issue, check for incomplete values and datatype mismatches.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
1 reply