QudsCheckboxWithText constructor
const
QudsCheckboxWithText({})
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);