InputChip constructor

InputChip({
  1. required Widget label,
  2. Widget? avatar,
  3. bool selected = false,
  4. ValueCmdCallback<bool>? onSelected,
  5. CmdCallback? onPressed,
  6. CmdCallback? onDeleted,
  7. Widget? deleteIcon,
  8. bool enabled = true,
  9. bool showCheckmark = false,
  10. Color? backgroundColor,
  11. Color? selectedColor,
  12. EdgeInsets? padding,
  13. bool autofocus = false,
  14. String? focusId,
  15. FocusController? focusController,
  16. Key? key,
})

Implementation

InputChip({
  required this.label,
  this.avatar,
  this.selected = false,
  this.onSelected,
  this.onPressed,
  this.onDeleted,
  this.deleteIcon,
  this.enabled = true,
  this.showCheckmark = false,
  this.backgroundColor,
  this.selectedColor,
  this.padding,
  this.autofocus = false,
  this.focusId,
  this.focusController,
  super.key,
});