discontinuedPackage customico has been discontinued and replaced by flutter_customs.

CustomCheckbox constructor

const CustomCheckbox({
  1. Key? key,
  2. required String text,
  3. required String stext,
  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.stext,
  required this.initialValue,
  required this.value,
  required this.onChanged,
  required this.valid,
  this.onTap,
}) : super(key: key);