LeanCheckbox constructor
const
LeanCheckbox({
- Key? key,
- VoidBoolFunction? onPressed,
- required LeanText leanText,
- required double width,
- LeanCheckboxController? controller,
- bool defaultValue = false,
Implementation
const LeanCheckbox({Key? key, this.onPressed, required this.leanText, required this.width, this.controller,this.defaultValue=false}) : super(key: key);