---
title: "Common mistakes with ListViews in Flutter"
url: https://daily.dev/posts/common-mistakes-with-listviews-in-flutter-1wonqnxmg
source_url: https://medium.com/@pomis172/common-mistakes-with-listviews-in-flutter-f22e7dacfaf7
type: article
source: "Medium"
published: 2024-05-15T11:56:00.200Z
updated: 2024-05-15T11:55:58.481Z
tags: ["performance", "flutter"]
reading_time: 3
upvotes: 18
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Common mistakes with ListViews in Flutter

**[Medium](https://daily.dev/sources/medium_js)** · 3 min read · 18 upvotes · 1 comments

## Summary

Avoid common mistakes with ListViews in Flutter, such as disabling scrolling with `NeverScrollableScrollPhysics` and `shrinkWrap`, and letting every item determine its own height. Use Slivers for more efficient rendering and consider using the properties `prototypeItem` and `itemExtent` for consistent item heights. To add padding, avoid wrapping the ListView in a Padding widget and instead use the padding parameter directly.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@pomis172/common-mistakes-with-listviews-in-flutter-f22e7dacfaf7>

## Community discussion

Top comments from developers on daily.dev.

**@gp4ck** · 0 upvotes

> Very cool tips!

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#flutter](https://daily.dev/tags/flutter)

[View this post on daily.dev](https://daily.dev/posts/common-mistakes-with-listviews-in-flutter-1wonqnxmg)
