How to pass filtered text data bound to a Checkbox Group to another page

Widgets & Design

There are two screens: Homepage and Details. On the Homepage: I'm using a CheckboxGroup that is bound to the ListView. The ListView has a filter for "name" in "CheckboxGroup". The schema on Firebase is simple: 1 Collection, 5 documents, 2 fields which you can see in one of the screenshots.

How do I fix this?

What data type should I use for the parameter? What value do I pass in the parameter in the "Next" button shown below?

What have you tried so far?

When I click on the checkboxes on the Homepage, they show the fruit that is checked on the Homepage, but I want the same fruit that are checked that show up below on the Homepage to show up on the next screen (Details page). I have been using a parameter called "details" (have tried Document, Doc Ref, and string), but the Details page shows all the fruits in the collection.

For example. If I click on Mango and Kiwi on the Homepage, they show up in the below text boxes. When I click the "Next" button, I want Mango and Kiwi to show up on the Details screen.

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