JJCheckBox constructor
JJCheckBox({
- Key? key,
- String? title,
- Widget? child,
- bool enabled = true,
- bool isSelected = false,
- int tag = 0,
- double height = 44,
- double width = double.infinity,
- BoxConstraints? constraints,
- EdgeInsets? padding,
- AlignmentGeometry alignment = Alignment.center,
- TextStyle? textStyle,
- TextStyle? selectedTextStyle,
- TextStyle? disabledTextStyle,
- BoxDecoration? cellDecoration,
- BoxDecoration? cellSelectedDecoration,
- BoxDecoration? cellDisabledDecoration,
- void onTap()?,
- Color? highlightColor,
- Color? tapSplashColor,
- BorderRadius? tapBorderRadius,
- 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);