isPortrait property
bool
get
isPortrait
Returns true if the orientation is portrait.
Implementation
bool get isPortrait => orientation == Orientation.portrait;
Returns true if the orientation is portrait.
bool get isPortrait => orientation == Orientation.portrait;