setScreenOrientation method

void setScreenOrientation(
  1. bool isLandscape
)

Implementation

void setScreenOrientation(bool isLandscape) {
  if (this.isLandscape is ValueNotifier<bool>) {
    (this.isLandscape as ValueNotifier<bool>).value = isLandscape;
  }
}