endScroll method
Implementation
void endScroll(Velocity? velocity) {
scrollCapture?.velocity =
velocity ?? Velocity(pixelsPerSecond: Offset(0, 0));
scrollCapture?.calculateSwipe();
Tealeaf.isSwiping = false;
checkForScroll();
}
void endScroll(Velocity? velocity) {
scrollCapture?.velocity =
velocity ?? Velocity(pixelsPerSecond: Offset(0, 0));
scrollCapture?.calculateSwipe();
Tealeaf.isSwiping = false;
checkForScroll();
}