isPortrait method
check if the current context is with portrait view
Implementation
bool isPortrait(){
return this.orientation == Orientation.portrait && this.isPortraitLandscape();
}
check if the current context is with portrait view
bool isPortrait(){
return this.orientation == Orientation.portrait && this.isPortraitLandscape();
}