Mick Gow
 · UX Designer armed with a swiss army knife of skills

API with empty results stopping list from rendering

The situation:

  • I have a list (of locations) that's generated from a Firestore database, everything renders just fine.

  • In each row of this list it's getting some data from a Google Maps API (such as a photo and a rating)

The problem:

  • Not every location (row) is represented in Google's API so some locations return empty results

  • I have default values entered into the flutterflow variables

  • This is causing the listview to stop rendering and returning an error


Does anyone know a workaround for this issue?

Screenshot attached

2
6 replies