ExpressiveChip.input constructor

const ExpressiveChip.input(
  1. String label, {
  2. bool selected = false,
  3. VoidCallback? onPressed,
  4. ExpressiveComponentThemeData? style,
  5. VoidCallback? onDeleted,
  6. String? deleteLabel,
  7. Widget? avatar,
  8. IconData? icon,
  9. bool morph = false,
  10. bool enabled = true,
  11. Key? key,
  12. FocusNode? focusNode,
  13. bool autofocus = false,
})

An input chip.

Implementation

const ExpressiveChip.input(
  this.label, {
  this.selected = false,
  this.onPressed,
  this.style,
  this.onDeleted,
  this.deleteLabel,
  this.avatar,
  this.icon,
  this.morph = false,
  this.enabled = true,
  super.key,
  this.focusNode,
  this.autofocus = false,
}) : _kind = _ChipKind.input,
     trailingIcon = null,
     elevated = false;