TdCheckbox<T> constructor

const TdCheckbox<T>({
  1. Key? key,
  2. bool? initialChecked,
  3. required TdCheckboxChangedCallback<T> onChanged,
  4. T? value,
  5. bool disabled = false,
  6. bool block = true,
  7. EdgeInsetsGeometry? padding,
  8. required Widget child,
})

Implementation

const TdCheckbox({
  super.key,
  this.initialChecked,
  required this.onChanged,
  this.value,
  this.disabled = false,
  this.block = true,
  this.padding,
  required this.child,
});