Currently I have a page where people can filter events.
Typically you would show filters not in the same screen.
So for this I have created a bottomsheet with al the filters which should return different data types:
- String
- Int
- Date
From my understanding I can only pass something from the page to the bottomsheet and not the other way around?
Question:
What would be the best way to solve this issue?
I am now trying to solve it with app state variables, but maybe someone already solved this and want to share there solution.
Below is my bottomsheet that I have created. If the user has selected a filter and clicks the green button then the page should show a different list with the filters applied to that listview.
Greetings,
Dylan