GridPainter constructor

GridPainter({
  1. required Color color,
  2. int columns = 1,
  3. int rows = 1,
})

Implementation

GridPainter({
  required this.color,
  this.columns = 1,
  this.rows = 1,
}) : super(strokeWidth: 0) {
  gridPaint.color = color;
}