Decode ListView

Greg Perry
16 min readMay 16, 2019

An in-depth look at Flutter’s ListView Widget

Scrolling. It’s all people do these days — scrolling through their phones. As it happens, it’s an important ability for mobile apps. Let’s delve into how to scroll in Flutter using the ListView widget.

As you can see from the class hierarchy below, there’s a lot that makes up the Widget, ListView. We’ll start with the basics and work up to the more involved features.

I Like Screenshots. Click For Gists.

As always, I prefer using screenshots over gists to show concepts rather than just show code in my articles. I find them easier to work with frankly. However, you can click or tap on these screenshots to see the code they represent in a gist or in Github. Ironically, it’s better to read this article about mobile development on your computer than on your phone. Besides, we program on our computers — not on our phones. For now.

No Moving Pictures, No Social Media

There will be gif files in this article demonstrating aspects of the topic at hand. However, it’s said viewing such gif files is not possible when reading this article on platforms like Instagram, Facebook, etc. They may come out as static pictures or simply blank placeholder boxes. Please, be aware of this and maybe read this article on…

--

--