onSwipe property

(void Function(int)?) onSwipe
final

Called whenever the current image index changes.

Implementation

final void Function(int)? onSwipe;