CustomCheckbox constructor

const CustomCheckbox({
  1. Key? key,
  2. required String text,
  3. required String linktext,
  4. required bool initialValue,
  5. required bool value,
  6. required void onChanged(
    1. bool?
    )?,
  7. required String? valid(
    1. bool?
    )?,
  8. void onTap()?,
})

Implementation

const CustomCheckbox({
  Key? key,
  required this.text,
  required this.linktext,
  required this.initialValue,
  required this.value,
  required this.onChanged,
  required this.valid,
  this.onTap,
}) : super(key: key);