I have a flutter web page with three dropdown buttons which I use to query the database and show some objects to the user, selecting the dropdown value updates the UI as expected and modifying the variable the API needs to make the query.
The problem comes when the user resizes the browser window, that causes the UI to update again and the dropdown values revert to the default ones.
There is no error message or anything, I just want to keep the state when the screen resizes.
Is there a way for me to prevent that state change when the browser window changes its size?
or do I just let the user see that when the screen size changes, the choices made disappear and they have to select them again?