leanflutter / window_manager

This plugin allows Flutter desktop apps to resizing and repositioning the window.
https://pub.dev/packages/window_manager
MIT License
676 stars 177 forks source link

Why the project exemple works properly and my project not. The window resizes after a delay. #426

Closed druidamix closed 6 months ago

druidamix commented 6 months ago

Hello,

I created a simple project, added the window manager plugin. When I execute the program on linux desktop the, there is a delay until it resizes de window. Even after copying the code from de example to mine happens the same.

Any solutions, bit lost. Thanks.

video

druidamix commented 6 months ago

I should had to read the documentation. My bad.

Changing this line, it works perfectly: