InputCheckBox constructor

InputCheckBox({
  1. Key? key,
  2. required String name,
  3. required String label,
  4. Color? fillColor,
  5. bool? filled,
  6. Function? function,
  7. bool initialValue = false,
})

Implementation

InputCheckBox({
  Key? key,
  required this.name,
  required this.label,
  this.fillColor,
  this.filled,
  this.function,
  this.initialValue = false,
}) : super(key: key) {
  controller.selecionado = initialValue;
}