How to make it swipe by button not swiping by finger
Closed this issue · 2 comments
Wizpna commented
Hello,
Thanks for the awesome plugin, I appreciate your effort.
I want to ask, it's possible to implement the swiping by button click instead of using a finger.
Thanks for your feeback
akshajdevkv commented
You should create a controller and pass it to the tcard widget as an argument , then you can move the card by button click by calling tCardController.forward()/tCardController.back()
final TCardController tCardController = TCardController();
TCard( cards: [], controller: tCardController, );
BrunoJurkovic commented
Solved //