isPortrait property
bool
get
isPortrait
Return true if current orientation is portrait
Implementation
bool get isPortrait => orientation == Orientation.portrait;
Return true if current orientation is portrait
bool get isPortrait => orientation == Orientation.portrait;