FlDotCirclePainter constructor

FlDotCirclePainter({
  1. Color color = Colors.green,
  2. double? radius,
  3. Color strokeColor = const Color.fromRGBO(76, 175, 80, 1),
  4. double strokeWidth = 0.0,
})

The color of the circle is determined determined by color, radius determines the radius of the circle. You can have a stroke line around the circle, by setting the thickness with strokeWidth, and you can change the color of of the stroke with strokeColor.

Implementation

FlDotCirclePainter({
  this.color = Colors.green,
  double? radius,
  this.strokeColor = const Color.fromRGBO(76, 175, 80, 1),
  this.strokeWidth = 0.0,
}) : radius = radius ?? 4.0;