onTouchMove method
Implementation
void onTouchMove(dom.TouchEvent event) {
if (disabled == true) {
return;
}
final x = event.touches!.first.screen.x.round();
_deltaX = prevX - x;
prevX = x;
dragOffset = math.max(-0.2, math.min(0.2, _deltaX.toDouble()));
}