Flutter setting orientation to landscappe redirects page to main app
I have to change the orientation in a specified page to DeviceOrientation.landscapeLeft.
But when i do this on the page the orientation changes and when the ui is rendered it immediately changes to the main page.
And then the app go’s back to the first page.
It does not seem to mater wat i return in the build it always redirects.
I get no error.