const Chip({Key key, Widget avatar, Widget label, VoidCallback onDeleted })

Creates a material design chip.

  • onDeleted determines whether the chip has a delete button. This callback runs when the delete button is pressed.

Source

const Chip({
  Key key,
  this.avatar,
  this.label,
  this.onDeleted
}) : super(key: key);