CustomCheckbox constructor

const CustomCheckbox({
  1. Key? key,
  2. double strokeWidth = 2.0,
  3. bool value = false,
  4. Color strokeColor = Colors.white,
  5. Color? fillColor = Colors.blue,
  6. Color normalBorderColor = Colors.grey,
  7. double radius = 2.0,
  8. ValueChanged<bool>? onChanged,
})

Implementation

const CustomCheckbox({
  Key? key,
  this.strokeWidth = 2.0,
  this.value = false,
  this.strokeColor = Colors.white,
  this.fillColor = Colors.blue,
  this.normalBorderColor = Colors.grey,
  this.radius = 2.0,
  this.onChanged,
}) : super(key: key);