GridPaper.quad constructor

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

Implementation

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