PaperFormat constructor

const PaperFormat({
  1. required String id,
  2. String name = '',
  3. required PaperFeed feed,
  4. required double pageWidthMm,
  5. required double pageHeightMm,
  6. required int columns,
  7. required int rows,
  8. required double cellWidthMm,
  9. required double cellHeightMm,
  10. double marginTopMm = 0,
  11. double marginLeftMm = 0,
  12. double gapXMm = 0,
  13. double gapYMm = 0,
})

Implementation

const PaperFormat({
  required this.id,
  this.name = '',
  required this.feed,
  required this.pageWidthMm,
  required this.pageHeightMm,
  required this.columns,
  required this.rows,
  required this.cellWidthMm,
  required this.cellHeightMm,
  this.marginTopMm = 0,
  this.marginLeftMm = 0,
  this.gapXMm = 0,
  this.gapYMm = 0,
});