CheckBoxWidget constructor

CheckBoxWidget({
  1. Key? key,
  2. bool isChecked = false,
  3. bool isDisabled = false,
  4. WidgetCheckBox? layout,
  5. WidgetCheckBox? checkBox,
  6. bool interceptCallBacks = false,
  7. TextDirection textDirection = TextDirection.ltr,
  8. required ValueChanged<bool?>? onChanged,
})

Implementation

CheckBoxWidget({
  Key? key,
  this.isChecked = false,
  this.isDisabled = false,
  this.layout,
  this.checkBox,
  this.interceptCallBacks = false,
  this.textDirection = TextDirection.ltr,
  required this.onChanged,
}) : super(key: key);