GridPainter constructor
GridPainter({})
Paints a grid.
Useful if added as canvas background widget.
Implementation
GridPainter({
this.lineWidth = 1.0,
this.lineColor = Colors.black,
this.horizontalGap = 32.0,
this.verticalGap = 32.0,
this.offset = Offset.zero,
this.scale = 1.0,
this.showHorizontal = true,
this.showVertical = true,
this.lineLength = 1e4,
this.isAntiAlias = true,
this.matchParentSize = true,
});