isLandscape property
bool
isLandscape
Returns true if the device indicates it is in landscape mode.
Implementation
bool get isLandscape => orientation == Orientation.landscape;
Returns true if the device indicates it is in landscape mode.
bool get isLandscape => orientation == Orientation.landscape;