zubairehman / flutter_boilerplate_project

A boilerplate project created in flutter using MobX and Provider.
http://zubairehman.surge.sh/
MIT License
2.29k stars 911 forks source link

Error in login screen, showing double view when keyboard is opened in portrait mode #42

Closed matpag closed 4 years ago

matpag commented 4 years ago

OrientationBuilder is not created to take the real device orientation into considerations.

In a Pixel 2 emulator you just need to open the keyboard while in portrait mode and the double pane layout is showing up stealing precious space from login form.

The same problem can be checked here: https://stackoverflow.com/questions/50757851/orientation-builder-gives-wrong-orientation