I’m working on an app that allows users to apply a variety of filters to refine a dataset. Each filter is unique—some are dropdowns, others are radio buttons, date pickers, or multi-selects. I want to dynamically render these filters based on user input, so that the order of the filters changes dynamically based on the order in which they were added.
Since the filters are different, I don't think I can use ListView (which repeats the same component structure).
Currently, the filters are all built in separate components which are hidden based on user input. I know that I can use a variable to store the correct order but am struggling with how to render the components in that specific order.
Thanks!