setScreenOrientation method

void setScreenOrientation(
  1. bool isLandscape
)

Implementation

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