Custom scroll physics in Flutter – David Anaya

In a ListView, we may want to fine-tune how our items scroll: sometimes we don’t want the scroll to be endless but to stop at each item. If this is the case, we can go even go further and say that we want a preview of the next item, like an image carousel. But how can we do that? Fortunately, Flutter provides not only a ScrollController that let us control the ListView‘s slide animation but it also provides us the ScrollPhysics which we can extend to meet our (or our designer’s) ideal UI and UX. You can read more about it in this article by David Anaya: Custom scroll physics in Flutter – Flutter Community – Medium

Leave a Comment