isLandscape property
bool
get
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;