onSwipe property
CardSwiperOnSwipe?
onSwipe
final
function that gets called with the new index and detected swipe direction when the user swiped or swipe is triggered by controller
Implementation
final CardSwiperOnSwipe? onSwipe;