lockAutoRotate static method
dynamic
lockAutoRotate()
Implementation
static lockAutoRotate() {
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
}
static lockAutoRotate() {
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
}