CheckmarkPainter constructor
CheckmarkPainter({
- double? progress,
- Color? color,
- Color? fill,
- double? weight,
- double? padding,
- ShapeBorder? shape,
- 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;