I am currently using AppuinoSwiper in my Flutter project for displaying a stack of cards. It's been a great experience, but I've encountered a limitation that I believe, if addressed, could significantly enhance the package's functionality.
I would like to request a feature that allows programmatic control for navigating to a specific card in the stack. This feature would enable developers to directly move to a particular card index in the AppuinoSwiper stack, which can be very useful in various scenarios, such as navigating back to a previously viewed card or jumping to a card based on external events.
Proposed Solution
Ideally, this could be implemented as a method in the SwiperController (or an equivalent controller if it exists) that accepts an index and navigates to the corresponding card. For instance:
swiperController.jumpToCard(int index);
This method should handle the navigation smoothly and update the swiper's state accordingly.
Use Cases
This feature would be particularly useful in scenarios where:
Users need to revisit a specific card based on their actions.
External events determine which card should be displayed.
Implementing features like "skip to a specific card" in tutorials or galleries.
I am currently using
AppuinoSwiper
in my Flutter project for displaying a stack of cards. It's been a great experience, but I've encountered a limitation that I believe, if addressed, could significantly enhance the package's functionality.I would like to request a feature that allows programmatic control for navigating to a specific card in the stack. This feature would enable developers to directly move to a particular card index in the
AppuinoSwiper
stack, which can be very useful in various scenarios, such as navigating back to a previously viewed card or jumping to a card based on external events.Proposed Solution Ideally, this could be implemented as a method in the
SwiperController
(or an equivalent controller if it exists) that accepts an index and navigates to the corresponding card. For instance:swiperController.jumpToCard(int index);
This method should handle the navigation smoothly and update the swiper's state accordingly.
Use Cases This feature would be particularly useful in scenarios where: