orientation lock ios flutter plist info code example
Example: how to stop screen rotation in flutter
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
return new MaterialApp(...);
}
}