UFUCheckbox constructor
const
UFUCheckbox({
- bool disabled = false,
- bool? isTextClickable = true,
- bool? selected = false,
- String? text,
- UFUTextSize? textSize = UFUTextSize.heading4,
- Color? textColor,
- UFUFontWeight? fontWeight = UFUFontWeight.regular,
- Color? borderColor,
- Color? color,
- UFUPosition? position = UFUPosition.start,
- Color? checkColor,
- double? height = 17.0,
- double? width = 17.0,
- ValueChanged<
bool> ? onTap, - EdgeInsetsGeometry? padding,
- double separatorWidth = 8.5,
- 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});