isPortrait property
bool
isPortrait
shortcut for MediaQuery.of(context).orientation == Orientation.portrait
Implementation
bool get isPortrait => orientation == Orientation.portrait;
shortcut for MediaQuery.of(context).orientation == Orientation.portrait
bool get isPortrait => orientation == Orientation.portrait;