getCustomPaint method

dynamic getCustomPaint(
  1. Color color,
  2. double strokeWidth,
  3. PaintingStyle style
)

Implementation

getCustomPaint(Color color, double strokeWidth, PaintingStyle style) {
  final customPaint = Paint()
    ..color = color
    ..strokeWidth = strokeWidth
    ..style = style;
  return customPaint;
}