Hi all, I'm pretty new to Flutterflow, so my question might be supereasy for you all. I tried to search here already, but I couldn't find a hint that helped me so far.
I have a calendar grid, which I populate with text widgets with the day ('d') and below the amount of 'scans' of that day. When looping through the days, I query the database each time to give me the amount of scans that day. So far so good.
Now I want to hide that number if it's 0 (no scans that day), so that it only shows the number below days there were scans.
Conditional visibility: Hide the results if 0.
Widgets & Design
I tried to create a conditional filter in the widget itself based on the query results, but I cannot find the query results in the filter options.
I tried to query Firebase directly in the custom code I wrote that generates the calendar and then give the results back in a list together with the day.
I tried to set a local state "scanCount" each time after the query, but I cannot find how I could do that directly after the query.
Yes
2
6 replies