nested listview data

Database & APIs

**🔍 Problem Overview

  • Objective: Create a ListView that displays a list of tasks (parent items). For each task, I want to show a container that includes data relevant only to that specific task (e.g., subtasks, details).

  • Current Setup:

    • Parent ListView: Successfully fetches and displays tasks from my Supabase tasks table.

    • Nested ListView: Attempting to nest another ListView within each task's container to display related data (e.g., subtasks from the subtasks table).

  • Issue: When I nest a ListView inside the parent ListView's container, I'm unable to select or bind any fields from the Supabase row within the nested ListView. It seems like the data context for the nested ListView isn't recognizing the parent task's data.

What have you tried so far?

I have tried playing with different filters, pagestates saving the query on pageload, etc.

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