isPortrait property
bool
get
isPortrait
Check if screen is portrait
Implementation
bool get isPortrait => orientation == Orientation.portrait;
Check if screen is portrait
bool get isPortrait => orientation == Orientation.portrait;