'Flutter how to update ui when user change size of web application window

I create flutter web application to increase knowledge about adaptive ui, and i stuck with a big problem for me.

When i move my application window to other screen my ui breaks.My second screen have same resolution but diffrent size. or when i change size of application with ctr and "+" key

it looks like this

enter image description hereenter image description here

when i update application it start to looks normal

enter image description here

what i can do to fix this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source