FlDotSquarePainter constructor
FlDotSquarePainter({})
The color of the square is determined determined by color, size determines the size of the square. You can have a stroke line around the square, by setting the thickness with strokeWidth, and you can change the color of of the stroke with strokeColor.
Implementation
FlDotSquarePainter({
this.color = Colors.green,
this.size = 4.0,
this.strokeColor = const Color.fromRGBO(76, 175, 80, 1),
this.strokeWidth = 1.0,
});