isLandscape property

bool get isLandscape

check if device is on landscape mode

Implementation

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