UFUCheckbox constructor

const UFUCheckbox({
  1. bool disabled = false,
  2. bool? isTextClickable = true,
  3. bool? selected = false,
  4. String? text,
  5. UFUTextSize? textSize = UFUTextSize.heading4,
  6. Color? textColor,
  7. UFUFontWeight? fontWeight = UFUFontWeight.regular,
  8. Color? borderColor,
  9. Color? color,
  10. UFUPosition? position = UFUPosition.start,
  11. Color? checkColor,
  12. double? height = 17.0,
  13. double? width = 17.0,
  14. ValueChanged<bool>? onTap,
  15. EdgeInsetsGeometry? padding,
  16. double separatorWidth = 8.5,
  17. Key? key,
})

Implementation

const UFUCheckbox({
  this.disabled = false,
  this.isTextClickable = true,
  this.selected = false,
  this.text,
  this.textSize = UFUTextSize.heading4,
  this.textColor,
  // this.fontFamily = UFUFontFamily.productSans,
  this.fontWeight = UFUFontWeight.regular,
  this.borderColor,
  this.color,
  this.position = UFUPosition.start,
  this.checkColor,
  this.height = 17.0,
  this.width = 17.0,
  this.onTap,
  this.padding,
  this.separatorWidth = 8.5,
  super.key});