FormCheckbox constructor

FormCheckbox({
  1. Key key,
  2. YekongaForm formControl,
  3. @required String name,
  4. @required bool value,
  5. @required ValueChanged<bool> onChanged,
  6. Color activeColor,
  7. Color checkColor,
  8. Color tileColor,
  9. Widget title,
  10. Widget subtitle,
  11. bool isRequired = false,
  12. bool isThreeLine = false,
  13. bool dense,
  14. Widget secondary,
  15. bool selected = false,
  16. ListTileControlAffinity controlAffinity = ListTileControlAffinity.platform,
  17. bool autofocus = false,
  18. EdgeInsetsGeometry contentPadding = EdgeInsets.zero,
  19. bool tristate = false,
  20. ShapeBorder shape,
  21. Color selectedTileColor,
})

Implementation

FormCheckbox({
  Key key,
  this.formControl,
  @required this.name,
  @required this.value,
  @required this.onChanged,
  this.activeColor,
  this.checkColor,
  this.tileColor,
  this.title,
  this.subtitle,
  this.isRequired = false,
  this.isThreeLine = false,
  this.dense,
  this.secondary,
  this.selected = false,
  this.controlAffinity = ListTileControlAffinity.platform,
  this.autofocus = false,
  this.contentPadding = EdgeInsets.zero,
  this.tristate = false,
  this.shape,
  this.selectedTileColor,
}) : super(key: key);