CCheckbox constructor

CCheckbox({
  1. Key? key,
  2. required void onChange(
    1. bool value
    ),
  3. bool enable = true,
  4. bool value = false,
  5. String? label,
})

Implementation

CCheckbox({
  Key? key,
  required void Function(bool value) onChange,
  bool enable = true,
  bool value = false,
  String? label,
})  : props = CCheckboxProps(
        enable: enable,
        value: value,
        label: label,
        onChange: onChange,
      ),
      super(key: key);