Closed Parmendrakumar closed 5 years ago
it's run all app in portrait mode, its nothing but the custom drawer is not working properly in landscape mode. so I use this method.
what mobile model, please give me the name of mobile?
I test both Pixel XL and iPhone8 plus. Only Getting white screen
I run again no issue found, please re-clon and check its. bro.
I have tested it on Master branch and its working fine
Getting white screen on Mobile with SystemChrome.setPreferredOrientations( [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]) .then((_) => runApp(new MyApp()));
Its working fine with runApp(new MyApp());
So, What is the use of SystemChrome.setPreferredOrientations( [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]) .then((_) => runApp(new MyApp()));