Checkmark constructor

const Checkmark({
  1. Key? key,
  2. Curve? curve,
  3. Duration? duration,
  4. Color? color,
  5. double? weight,
  6. double? size,
  7. bool? autoSize,
  8. bool? rounded,
  9. bool? drawCross,
  10. bool? drawDash,
  11. bool checked = true,
  12. bool indeterminate = false,
})

Creates an CheckmarkRender widget.

The duration and curve parameters control the animation of the checkmark's properties. The color, weight, size, rounded, checked and indeterminate parameters allow customization of the checkmark's appearance.

The duration defaults to 200 milliseconds, curve defaults to Curves.linear, rounded defaults to false, checked defaults to true, and indeterminate defaults to false.

Implementation

const Checkmark({
  super.key,
  this.curve,
  this.duration,
  this.color,
  this.weight,
  this.size,
  this.autoSize,
  this.rounded,
  this.drawCross,
  this.drawDash,
  this.checked = true,
  this.indeterminate = false,
});