OnSwipe typedef

OnSwipe = void Function(int previousIndex, int targetIndex, SwiperActivity activity)

Implementation

typedef OnSwipe = void Function(
  int previousIndex,
  int targetIndex,
  SwiperActivity activity,
);