isLandscape property
bool
get
isLandscape
This will return Orientation object and you can check is the landscape
Implementation
bool get isLandscape => orientation == Orientation.landscape;
This will return Orientation object and you can check is the landscape
bool get isLandscape => orientation == Orientation.landscape;