ListView not displaying Firestore data - TypeError in Run Mode

Database & APIs

I'm building an app in FlutterFlow connected to Firebase/Firestore and my ListView is not displaying any data from the database. Here's a summary of everything I've checked and tried:

Setup:

  • ListView has a Backend Query configured as "Query Collection" pointing to the Items collection with Query Type "List of Documents"

  • The Text widget inside the ListView is bound to the correct field via "From Variable" → "Items Document" → "Get Document Property" → nome

  • Firestore Rules allow read for everyone on the Items collection

  • Schema validation in FlutterFlow passed successfully

  • The Items collection has documents with data, visible in FlutterFlow's Manage Content

What have you tried so far?

  • Verified the Backend Query configuration on the ListView — correctly set up

  • Verified the Text widget variable binding — correctly bound to the nome field

  • Checked Firestore security rules — read is allowed for everyone

  • Ran schema validation — passed successfully

  • Discovered the FlutterFlow project was connected to the wrong Firebase project — fixed by recreating the data in the correct project (enxoval-perfeito-84hgkk)

  • Tried Run Mode in an incognito window to rule out cache issues

Current error in browser console (Run Mode):

Uncaught TypeError: J.bZ(...).aj is not a function
    h7 @ main.dart.js:194
    jD @ main.dart.js:5215
    $1 @ main.dart.js:41548

The app renders the AppBar correctly but the ListView appears completely blank. No data is displayed. The error seems to be a compiled code issue rather than a configuration problem.

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