Generate Dynamic Filter "Categories" by Data Query Firebase

Database & APIs

Hi Guys,

i need to know how i can dynamically generate a list by do a data query in Firebase to generate dynamically "Categorychoise" Button.

my actual understanding is, that i have to create Buttons with Value which is given for, like in the videotutorial: https://www.youtube.com/watch?v=4DjDYOfuL2c

think of some Firebase Documents, where a Datafield is "category" (it is a String value)
now i want to query all Firebase Documents, read the Datafield "category", filter duplicates, and create a List for the dynamic generation of the "Filter Buttons"

do you have any idea how i can solve this problem?

What have you tried so far?

I tried to generate filter by query. but this wouldn`t work.
i couldn`t generate a filter that works. i struggle everytime in the filter unique value..

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