Creates the Paint object that will be used to paint lines.
Paint createPaint() => Paint() ..color = color ..strokeWidth = thickness ..style = PaintingStyle.stroke;