How can I display return values from a custom function in a text field within a dynamically created list on a ListView?

Custom Code

I have a custom function that takes four parameters and returns a JSON object. I want to display the individual items from this JSON object on a card within a ListView, which is dynamically created based on the number of entries in the JSON output. The function works correctly when tested, but I encounter an error screen when trying to connect it to the text field.

What have you tried so far?

I asked ChatGPT, and Gemini and posted on a few developer communities.
Checked documentation for listview and textfeild

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