CheckButton constructor
CheckButton({
- Key? key,
- required String text,
- double textSize = 12,
- Color textColor = const Color(0xff333333),
- Color selectIconColor = const Color(0xffEEEBD7),
- Color unSelectIconColor = const Color(0xffEEEBD7),
- double iconSize = 20,
- OnCheckedCall? checkedCall,
- EdgeInsetsGeometry textPadding = const EdgeInsets.only(left: 6),
- IconData checkIcon = Icons.check_box_outlined,
- IconData uncheckIcon = Icons.check_box_outline_blank,
- dynamic tag,
- bool check = false,
- int? position,
- OnBuildCall? buildCall,
- bool allowReverseSelection = true,
- bool isTile = false,
Implementation
CheckButton({
Key? key,
required this.text,
this.textSize = 12,
this.textColor = const Color(0xff333333),
this.selectIconColor = const Color(0xffEEEBD7),
this.unSelectIconColor = const Color(0xffEEEBD7),
this.iconSize = 20,
this.checkedCall,
this.textPadding = const EdgeInsets.only(left: 6),
this.checkIcon = Icons.check_box_outlined,
this.uncheckIcon = Icons.check_box_outline_blank,
this.tag,
this.check = false,
this.position,
this.buildCall,
this.allowReverseSelection = true,
this.isTile = false,
}) : super(key: key);