RootPainter constructor

RootPainter(
  1. Size? avatar,
  2. Color? pathColor,
  3. double? strokeWidth
)

Implementation

RootPainter(this.avatar, this.pathColor, this.strokeWidth) {
  _paint = Paint()
    ..color = pathColor!
    ..style = PaintingStyle.stroke
    ..strokeWidth = strokeWidth!
    ..strokeCap = StrokeCap.round;
}