QudsCheckboxListTile constructor

const QudsCheckboxListTile({
  1. Key? key,
  2. required bool value,
  3. ListTileControlAffinity controlAffinity = ListTileControlAffinity.leading,
  4. Widget? title,
  5. Widget? secondary,
  6. Color? checkColor,
  7. Color? unCkeckColor,
  8. dynamic onChanged(
    1. bool newValue
    )?,
  9. String? tooltip,
  10. TextDirection? textDirection,
  11. bool isThreeLine = false,
  12. double? size,
})

value the check state of this checkbox checkColor the color of the widget when its value set to true unCheckColor the color of the widget when its value set to false onChanged called when the check state is changed. tooltip a short message shown when the user hold a tap over the checkbox size the size of the ckeck icon.

Implementation

const QudsCheckboxListTile(
    {Key? key,
    required this.value,
    this.controlAffinity = ListTileControlAffinity.leading,
    this.title,
    this.secondary,
    this.checkColor,
    this.unCkeckColor,
    this.onChanged,
    this.tooltip,
    this.textDirection,
    this.isThreeLine = false,
    this.size})
    : super(key: key);