LeanCheckbox constructor

const LeanCheckbox({
  1. Key? key,
  2. VoidBoolFunction? onPressed,
  3. required LeanText leanText,
  4. required double width,
  5. LeanCheckboxController? controller,
  6. bool defaultValue = false,
})

Implementation

const LeanCheckbox({Key? key, this.onPressed, required this.leanText, required this.width, this.controller,this.defaultValue=false}) : super(key: key);