CardSwipeCompleteCallback typedef

CardSwipeCompleteCallback = void Function(CardSwipeOrientation orientation, 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);