GridPaper.millimeter constructor

GridPaper.millimeter({
  1. PdfColor color = lineColor,
  2. Widget? child,
})

Implementation

GridPaper.millimeter({
  PdfColor color = lineColor,
  Widget? child,
})  : horizontalColor = color,
      verticalColor = color,
      horizontalInterval = 5 * PdfPageFormat.cm,
      verticalInterval = 5 * PdfPageFormat.cm,
      horizontalDivisions = 5,
      verticalDivisions = 5,
      horizontalSubdivisions = 10,
      verticalSubdivisions = 10,
      margin = EdgeInsets.zero,
      horizontalOffset = 0,
      verticalOffset = 0,
      border = const Border(),
      scale = 1,
      opacity = 0.5,
      super(child: child);