@override double moving(Offset delta, double width, height) { if (delta.dy < 0.5) { return (left ? 1 : -1) * delta.dx / width; } return 0; }