PaperFormat.px constructor

PaperFormat.px({
  1. required int width,
  2. required int height,
})

Implementation

PaperFormat.px({required int width, required int height})
    : width = _pxToInches(width),
      height = _pxToInches(height);