QudsCheckboxWithText constructor

const QudsCheckboxWithText({
  1. Key? key,
  2. required bool value,
  3. required String text,
  4. Color? checkColor,
  5. Color? unCkeckColor,
  6. dynamic onChanged(
    1. bool newValue
    )?,
  7. String? tooltip,
  8. double? checkSize,
  9. TextStyle? textStyle,
  10. TextDirection? textDirection,
})

value the check state of this checkbox text the text will be shown beside the 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 iconSize the size of the ckeck icon.

Implementation

const QudsCheckboxWithText(
    {Key? key,
    required this.value,
    required this.text,
    this.checkColor,
    this.unCkeckColor,
    this.onChanged,
    this.tooltip,
    this.checkSize,
    this.textStyle,
    this.textDirection})
    : super(key: key);