We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a672f2 commit 824b0b6Copy full SHA for 824b0b6
lib/src/utils/popover_utils.dart
@@ -33,8 +33,9 @@ abstract class PopoverUtils {
33
}
34
35
36
- static final physicalSize =
37
- PlatformDispatcher.instance.views.first.physicalSize;
+ static Size get physicalSize =>
+ PlatformDispatcher.instance.views.first.physicalSize /
38
+ PlatformDispatcher.instance.views.first.devicePixelRatio;
39
40
41
typedef PopoverTransitionBuilder = Widget Function(
0 commit comments