ParentChildCheckbox constructor

ParentChildCheckbox({
  1. required Text? parent,
  2. required List<Text>? children,
  3. Color? parentCheckboxColor,
  4. Color? childrenCheckboxColor,
  5. double? parentCheckboxScale,
  6. double? childrenCheckboxScale,
  7. double? gap,
  8. void onCheckedChild(
    1. int index
    )?,
  9. void onCheckedParent()?,
})

Default constructor of ParentChildCheckbox

Implementation

ParentChildCheckbox({
  required this.parent,
  required this.children,
  this.parentCheckboxColor,
  this.childrenCheckboxColor,
  this.parentCheckboxScale,
  this.childrenCheckboxScale,
  this.gap,
  this.onCheckedChild,
  this.onCheckedParent,
});