QudsCheckbox constructor

const QudsCheckbox({
  1. Key? key,
  2. required bool value,
  3. Color? checkColor,
  4. Color? unCkeckColor,
  5. dynamic onChanged(
    1. bool newValue
    )?,
  6. String? tooltip,
  7. TextDirection? textDirection,
  8. 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 QudsCheckbox(
    {Key? key,
    required this.value,
    this.checkColor,
    this.unCkeckColor,
    this.onChanged,
    this.tooltip,
    this.textDirection,
    this.size})
    : super(key: key);