isLandscape property
bool
get
isLandscape
Checks if the device is in landscape mode based on the orientation.
Implementation
bool get isLandscape => orientation == Orientation.landscape;
Checks if the device is in landscape mode based on the orientation.
bool get isLandscape => orientation == Orientation.landscape;