Bug?? Can't use Num of Items for Conditional Visibility

Actions & Logic

I'm trying to set conditional visibility based on the number of items in a list from a supabase query (Only visible if num of items is greater than zero). I have a wrap widget with a query and for some reason this query is not accessible under conditional visibility variables as shown in the screen shot below. Other queries outside of the wrap widget are accessible like "media_assets Rows".


BUT, for soem reason this variable data IS accessible when using something like the padding and alignment. This only affects conditional visibility. I know I could move the query to the page or a larger container btu this would cause issues since it would need to buffer the entire page on page load instead of per widget. I also don't want another widget outside of it that I can't control the visibility of. Any ideas on hwo to fix this or is this a bug? It looks like a bug to me.

What have you tried so far?

Using a component which doens't update on changes unfortunately and I can't access num of items. Tried copying the variables where of Num of Items where it does exist and pasting where it doesn't and I just get a build error.

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