David PHAM-VAN

Add Flutter's Logical Pixel constant

1 # Changelog 1 # Changelog
2 2
  3 +## 3.10.8
  4 +
  5 +- Add Flutter's Logical Pixel constant
  6 +
3 ## 3.10.7 7 ## 3.10.7
4 8
5 - Fix empty lines text gap 9 - Fix empty lines text gap
@@ -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
@@ -12,7 +12,7 @@ topics: @@ -12,7 +12,7 @@ topics:
12 - print 12 - print
13 - printing 13 - printing
14 - report 14 - report
15 -version: 3.10.7 15 +version: 3.10.8
16 16
17 environment: 17 environment:
18 sdk: ">=2.18.0 <4.0.0" 18 sdk: ">=2.18.0 <4.0.0"