We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf7495 commit 4fa4a41Copy full SHA for 4fa4a41
lib/responsive_breakpoints.dart
@@ -159,7 +159,8 @@ class ResponsiveBreakpointsState extends State<ResponsiveBreakpoints>
159
bool get isLandscapePlatform =>
160
(widget.landscapePlatforms ?? _landscapePlatforms).contains(platform);
161
162
- bool get isLandscape => true;
+ bool get isLandscape =>
163
+ orientation == Orientation.landscape && isLandscapePlatform;
164
165
bool get useShortestSide => widget.useShortestSide;
166
0 commit comments