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