onSwipe returns wrong resulting index
Closed this issue · 1 comments
lagif commented
After checking closely I see that the onSwipe index after first crd swipe is still 0, and all following swipes return lower values.
This may happen because the widget.onSwipe?.call(_currentIndex, detectedDirection);
called BEFORE the index is updated, not AFTER.
ricardodalarme commented
Thank you for reporting this issue! It was fixed on the last release