isLandscape property

bool get isLandscape

Check if the screen is in landscape mode

Implementation

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