Access Num of List Items in GridView from Dynamically Generated Children

Widgets & Design

I have about 10 grid views with dynamically generated children, each gridview is wrapped in a column with text to label each gridview, and I want to set conditional visibility based on the number of items in each gridview (if num of item == 0 then not visible). I can't seem to access the num of items in conditions so is there a way to do this?

What have you tried so far?

I cannot access the number of items in the list of the dynamically generated children. Any ideas how to do this? I tried using a custom function to return a boolean with argument of a list and I can't access the list in the arg when using the function.

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