CardSwipeCompleteCallback typedef

void CardSwipeCompleteCallback (
  1. CardSwipeOrientation orientation,
  2. int index
)

swipe card to CardSwipeOrientation.LEFT or CardSwipeOrientation.RIGHT , CardSwipeOrientation.RECOVER means back to start.

Implementation

typedef CardSwipeCompleteCallback = void Function(
    CardSwipeOrientation orientation, int index);