pdfDefaultPageUnit function
The default on-page reference unit (the ratio's left-hand side) for
locale: inches in the imperial-system regions, centimetres everywhere
else. Like pdfDefaultMeasurementUnit, this follows the device region.
Implementation
String pdfDefaultPageUnit([Locale? locale]) =>
_isImperialRegion(locale) ? 'in' : 'cm';