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