InputChip constructor
InputChip({
- required Widget label,
- Widget? avatar,
- bool selected = false,
- ValueCmdCallback<
bool> ? onSelected, - CmdCallback? onPressed,
- CmdCallback? onDeleted,
- Widget? deleteIcon,
- bool enabled = true,
- bool showCheckmark = false,
- Color? backgroundColor,
- Color? selectedColor,
- EdgeInsets? padding,
- bool autofocus = false,
- String? focusId,
- FocusController? focusController,
- 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,
});