JJCheckBox constructor

JJCheckBox({
  1. Key? key,
  2. String? title,
  3. Widget? child,
  4. bool enabled = true,
  5. bool isSelected = false,
  6. int tag = 0,
  7. double height = 44,
  8. double width = double.infinity,
  9. BoxConstraints? constraints,
  10. EdgeInsets? padding,
  11. AlignmentGeometry alignment = Alignment.center,
  12. TextStyle? textStyle,
  13. TextStyle? selectedTextStyle,
  14. TextStyle? disabledTextStyle,
  15. BoxDecoration? cellDecoration,
  16. BoxDecoration? cellSelectedDecoration,
  17. BoxDecoration? cellDisabledDecoration,
  18. void onTap()?,
  19. Color? highlightColor,
  20. Color? tapSplashColor,
  21. BorderRadius? tapBorderRadius,
  22. Clip clipBehavior = Clip.none,
})

Implementation

JJCheckBox({
  Key? key,

  this.title,
  this.child,

  this.enabled = true,
  this.isSelected = false,
  this.tag = 0,
  ///
  this.height = 44,
  this.width = double.infinity,
  this.constraints,
  this.padding,
  this.alignment = Alignment.center,
  this.textStyle,
  this.selectedTextStyle,
  this.disabledTextStyle,
  this.cellDecoration,
  this.cellSelectedDecoration,
  this.cellDisabledDecoration,
  this.onTap,

  this.highlightColor,
  this.tapSplashColor,
  this.tapBorderRadius,

  this.clipBehavior = Clip.none
}) : super(key: key);