isPortrait property
bool
get
isPortrait
Whether the screen is in portrait orientation.
Implementation
bool get isPortrait => orientation == Orientation.portrait;
Whether the screen is in portrait orientation.
bool get isPortrait => orientation == Orientation.portrait;