PaperFormat.px constructor

PaperFormat.px({
  1. String name = "",
  2. required int width,
  3. required int height,
})

Implementation

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