onDeleted property

VoidCallback? onDeleted
final

Called when the delete button is tapped.

When provided, a delete button (X icon) will be shown on the right side. The chip becomes dismissible.

Implementation

final VoidCallback? onDeleted;