CheckButton constructor

CheckButton({
  1. Key? key,
  2. required String text,
  3. double textSize = 12,
  4. Color textColor = const Color(0xff333333),
  5. Color selectIconColor = const Color(0xffEEEBD7),
  6. Color unSelectIconColor = const Color(0xffEEEBD7),
  7. double iconSize = 20,
  8. OnCheckedCall? checkedCall,
  9. EdgeInsetsGeometry textPadding = const EdgeInsets.only(left: 6),
  10. IconData checkIcon = Icons.check_box_outlined,
  11. IconData uncheckIcon = Icons.check_box_outline_blank,
  12. dynamic tag,
  13. bool check = false,
  14. int? position,
  15. OnBuildCall? buildCall,
  16. bool allowReverseSelection = true,
  17. 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);