GridPainter constructor

GridPainter({
  1. required double xDensity,
  2. required double yDensity,
  3. bool showLines = true,
  4. bool showDots = false,
  5. Color lineColor = const Color(0xFFE0E0E0),
  6. double lineWidth = 1.0,
  7. Color dotColor = const Color(0xFFE0E0E0),
  8. double dotRadius = 1.5,
})

Implementation

GridPainter({
  required this.xDensity,
  required this.yDensity,
  this.showLines = true,
  this.showDots = false,
  this.lineColor = const Color(0xFFE0E0E0),
  this.lineWidth = 1.0,
  this.dotColor = const Color(0xFFE0E0E0),
  this.dotRadius = 1.5,
});