isPortrait static method
Show if device is in portrait mode
Implementation
static bool isPortrait() {
return _orientation == Orientation.portrait;
}
Show if device is in portrait mode
static bool isPortrait() {
return _orientation == Orientation.portrait;
}