GfMultiCheckbox constructor

GfMultiCheckbox({
  1. Key? key,
  2. dynamic onSelected(
    1. List<String>
    )?,
  3. required dynamic onSelectedindex(
    1. List<int>
    ),
  4. EdgeInsets? margin,
  5. EdgeInsets? padding,
  6. Color? borderColor,
  7. String? headingText,
  8. double? borderWidth,
  9. required List<String> values,
  10. List<int>? preSelected,
})

Implementation

GfMultiCheckbox({
  Key? key,
  this.onSelected,
  required this.onSelectedindex,
  this.margin,
  this.padding,
  this.borderColor,
  this.headingText,
  this.borderWidth,
  required this.values,
  this.preSelected,
}) : super(key: key) {
  dataModel = GfMultiCheckboxData(values: values, preselected: preSelected);
}