CupertinoCheckboxListTile constructor

const CupertinoCheckboxListTile({
  1. Key? key,
  2. required bool? value,
  3. required void onChanged(
    1. bool? value
    )?,
  4. Widget? title,
  5. Widget? subtitle,
  6. EdgeInsetsGeometry? contentPadding,
  7. Color? activeColor,
  8. Color? checkColor,
  9. bool selected = false,
})

Creates a new checkbox list tile with the given value and onChanged callback.

Implementation

const CupertinoCheckboxListTile({
  Key? key,
  required this.value,
  required this.onChanged,
  this.title,
  this.subtitle,
  this.contentPadding,
  this.activeColor,
  this.checkColor,
  this.selected = false,
}) : super(key: key);