DFCheckButton constructor
DFCheckButton({
- required int value,
- required dynamic onChanged(
- DFCheckButton button,
- bool checked,
- int value
- required String image,
- required String checkedImage,
- String? text,
- double fontSize = 14,
- Color textColor = const Color(0xFFFFFFFF),
- FontWeight fontWeight = FontWeight.normal,
- Size size = const Size(80, 80),
Implementation
DFCheckButton({
required this.value,
required this.onChanged,
required this.image,
required this.checkedImage,
this.text,
this.fontSize = 14,
this.textColor = const Color(0xFFFFFFFF),
this.fontWeight = FontWeight.normal,
this.size = const Size(80, 80),
});