checkBoxFormEntry method

Widget checkBoxFormEntry({
  1. String title = 'Checkbox',
  2. String subTitle = 'Select/Deselect',
  3. dynamic onChanged(
    1. bool?
    )?,
  4. bool defaultValue = false,
})

Checkbox form field

Implementation

Widget checkBoxFormEntry({
  String title = 'Checkbox',
  String subTitle = 'Select/Deselect',
  Function(bool?)? onChanged,
  bool defaultValue = false,
}) {
  return InteractiveFormEntries.checkBoxFormEntry(
    title: title,
    subTitle: subTitle,
    onChanged: onChanged,
    defaultValue: defaultValue,
    enabled: isEdit,
    formKey: widget.formKey,
    onModified: widget.onModified,
    context: context,
  );
}