CheckBoxProperty constructor

const CheckBoxProperty({
  1. Key? key,
  2. required String name,
  3. bool? startValue,
  4. ValueChanged<bool?>? onChanged,
  5. MouseCursor? mouseCursor,
  6. Color? activeColor,
  7. MaterialStateProperty<Color?>? fillColor,
  8. Color? checkColor,
  9. MaterialTapTargetSize? materialTapTargetSize,
  10. VisualDensity? visualDensity,
  11. Color? focusColor,
  12. Color? hoverColor,
  13. MaterialStateProperty<Color?>? overlayColor,
  14. double? splashRadius,
  15. FocusNode? focusNode,
  16. bool autofocus = false,
  17. OutlinedBorder? shape,
  18. BorderSide? side,
  19. bool isError = false,
})

Implementation

const CheckBoxProperty({
  Key? key,
  required this.name,
  this.startValue,
  this.onChanged,
  this.mouseCursor,
  this.activeColor,
  this.fillColor,
  this.checkColor,
  this.materialTapTargetSize,
  this.visualDensity,
  this.focusColor,
  this.hoverColor,
  this.overlayColor,
  this.splashRadius,
  this.focusNode,
  this.autofocus = false,
  this.shape,
  this.side,
  this.isError = false,
}) : super(key: key);