CheckmarkPainter constructor

CheckmarkPainter({
  1. double? progress,
  2. Color? color,
  3. Color? fill,
  4. double? weight,
  5. double? padding,
  6. ShapeBorder? shape,
  7. StrokeStyle? style,
})

Implementation

CheckmarkPainter({
  double? progress,
  Color? color,
  this.fill,
  double? weight,
  double? padding,
  ShapeBorder? shape,
  StrokeStyle? style,
})  : progress = progress ?? 1.0,
      color = color ?? const Color(0xFF000000),
      weight = weight ?? 1.0,
      padding = padding ?? 1.0,
      shape = shape ?? const RoundedRectangleBorder(),
      style = style ?? StrokeStyle.sharp;