hcSetOrientationPortrait function
void
hcSetOrientationPortrait()
Set orientation to portrait
Implementation
void hcSetOrientationPortrait() {
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitDown,
DeviceOrientation.portraitUp,
]);
}