isLandscape property
bool
isLandscape
/ Check if device is on landscape mode
Implementation
bool get isLandscape => orientation == Orientation.landscape;
/ Check if device is on landscape mode
bool get isLandscape => orientation == Orientation.landscape;