Bottom Sheet Filtering

Database & APIs

Hello all!

I have a map where all my events are displayed.
I have added a button to filter them based on different fields (sport selected, date, etc).

On a UI standpoint, I have found better to have a bottom sheet for the filters, however it causes some issues.

As you can see on the screenshots, I have created a component parameter holding my results.

  • On clicking apply filters, I execute a call back and dismiss the bottom sheet.

  • On my home page filter button, I have a parameter passed and an action to update page states "selectedSport" and "selectedDate".

  • I have my selected sport and my selected date, selected on my bottom sheet, stored in my homepage.

    I do not succeed with the last step, filtering my event list with these page state when the bottom sheet is dismissed.

    Would anyone be able to help?
    Thanksss



What have you tried so far?

See screenshots below.
I have tried custom code without succcess.

Did you check FlutterFlow's Documentation for this topic?
No
1
3 replies