Showing
3 changed files
with
8 additions
and
1 deletions
@@ -60,6 +60,9 @@ class PdfPageFormat { | @@ -60,6 +60,9 @@ class PdfPageFormat { | ||
60 | static const double cm = inch / 2.54; | 60 | static const double cm = inch / 2.54; |
61 | static const double mm = inch / 25.4; | 61 | static const double mm = inch / 25.4; |
62 | 62 | ||
63 | + /// Flutter's Logical Pixel | ||
64 | + static const double dp = 72.0 / 150.0; | ||
65 | + | ||
63 | final double width; | 66 | final double width; |
64 | final double height; | 67 | final double height; |
65 | 68 |
-
Please register or login to post a comment