Codelessly / ResponsiveFramework

Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple. Demo: https://gallery.codelessly.com/flutterwebsites/minimal/
https://codelessly.com
MIT License
1.25k stars 150 forks source link

Overflow error on rotation #179

Open jgarciamccausland opened 3 months ago

jgarciamccausland commented 3 months ago

Env:

Flutter SDK: 3.19.3 OS: macOS 14.5 (23F79) Device: Pixel Tablet API 33 emulator (virtual device)

Example: https://github.com/jgarciamccausland/responsive_layout_issue_1

Hello all. I'm seeing a very brief overflow error when I rotate the device's screen from portrait to landscape. It occurs during the rotation on some devices right before the responsive package adjusts the scaling when the device fully hits the landscape orientation.

https://github.com/Codelessly/ResponsiveFramework/assets/91960896/4e118a61-70aa-4235-8bd0-53315c370e84

Screenshot 2024-06-05 at 2 13 57 PM

I've tried various solutions in regards to manipulating widgets and how the content is rendered but nothing seems to work on that front.

Wondering if it's possible that the scaling adjusts before/during rotation or a way that the content doesn't rotate until it's scaled properly? Any other solutions or discussions are welcome. Thank you in advance.