hcSetOrientationLandscape function

void hcSetOrientationLandscape()

Set orientation to landscape

Implementation

void hcSetOrientationLandscape() {
  SystemChrome.setPreferredOrientations([
    DeviceOrientation.landscapeRight,
    DeviceOrientation.landscapeLeft,
  ]);
}