systemChromeMap top-level property
Implementation
final systemChromeMap = {
"setPreferredOrientations": (Object orientations) {
SystemChrome.setPreferredOrientations(
(orientations as List).cast<DeviceOrientation>());
},
"handleAppLifecycleStateChanged": (Object state) {
return SystemChrome.handleAppLifecycleStateChanged(
state as AppLifecycleState);
}
};