Custom Data Types for Arrays ?

The last few days I've been trying to figure out how to implement arrays from Firebase into my app.

I have figured out how to display and update the content from an array, however, so far I have only managed to do so if the content within the array is of a singular data type, e.g String.

The Flutterflow schema management page for Firebase, only allows for a 'list' to be of a singular data type, however,

on Firebase, an array gives the option of creating multiple fields with different data types within the same array.

How can I display/query different data types from a single array in Flutterflow? (e.g Display a string text, aswell, as an Image path and an integer)

Is this even possible in Flutterflow? I followed the FlutterFlow manuals and blogs & attempted to create a custom data type, however, this doesn't seem to work when I test the application.

1) First I setup the Array in Firebase with different types of data fields

2) I then created a custom data type with a string field and integer field

3) I then created the Firebase schema in Flutterflow to read the array through the custom data type.

4) I then set a text field which is supposed to display a string from the first field of the array.

5) I then tested this and many different variations of the method above, and always yielded the same results, a red bug screen

Any help or insight would be greatly appreciated! Thank you!

2
5 replies