BasePainter constructor
BasePainter({
- Color color = Colors.black,
- double rotateAngle = 0.0,
- double strokeWidth = 1,
- Listenable? repaint,
Implementation
BasePainter({
this.color = Colors.black,
this.rotateAngle = 0.0,
this.strokeWidth = 1,
Listenable? repaint,
}) : super(repaint: repaint) {
customPaint = Paint()
..color = color
..strokeWidth = strokeWidth
..style = PaintingStyle.stroke;
}