isLandscape property
bool
get
isLandscape
Check if the device orientation is landscape
Example: context.isLandscape
Implementation
bool get isLandscape => orientation == Orientation.landscape;
Check if the device orientation is landscape
Example: context.isLandscape
bool get isLandscape => orientation == Orientation.landscape;