onDelete property

dynamic Function(int) onDelete
final

onDelete is a callback triggered when the delete icon is clicked on an item on the carousel.

onDelete recieves an integer (int) which is the index of the deleted carousel item.

Implementation

final Function(int) onDelete;