isLandscape property

bool get isLandscape

Returns true if the device is in landscape mode.

Implementation

bool get isLandscape => orientation == Orientation.landscape;