Empower growth and innovation with the latest Front-end Dev insights

It's 2026—why does a Flutter product feed get hotter the further you scroll, then cool down after leaving and re-entering? How many times are those images decoded?

Nov 27, 2026 Read: 13

When a Flutter product feed starts to heat up after scrolling to one or two hundred items and returns to normal after leaving the page and coming back, the cause is usually not slow scrolling itself but the same batch of images being decoded repeatedly and list rows being rebuilt repeatedly. Based on cross-platform project delivery experience in 2026, first measure the build count of a single item and the actual decoded width and height of images, then decide which layer to change; changing only the cache limit or only the list widget often still leaves it hot at the same scroll position.

Why does it cool down after leaving and re-entering? The heat comes from repeated decoding and rebuilding

Flutter scrolling itself is not slow; what is slow is the work repeated in every frame. Items that scroll off screen are recycled, but recycling does not mean release: if decoded bitmaps, registered listeners, and created animation controllers do not go away with them, memory keeps rising. On mid-range Android phones, a 1080p-level original image takes about 4–8 MB after decoding (experience range), and twenty to thirty such images are enough to consume most of the available memory. This is also a common source of “it gets hot after scrolling for a while, then cools down after leaving and re-entering.”

The second type of cost is building. itemBuilder is called repeatedly during scrolling. If it creates new objects, builds closures, reads global state, or formats amounts and times, the rebuild cost grows with scroll distance. The third type is layout and repainting: nested scroll containers, unconstrained Columns, and complex cards without RepaintBoundary enlarge the repaint area. The three types of problems look similar—heat plus frame drops—so it is easy to change the wrong place.

  • Misjudgment 1: Assuming that switching to an on-demand list solves everything, while the builder still builds the entire complex row subtree at once.
  • Misjudgment 2: Looking only at the CPU curve and not at the memory used by image decoding, so all changes land in irrelevant places.
  • Misjudgment 3: Using a single setState to refresh the whole page's data, causing the whole table to rebuild; the longer the list, the higher the cost.
  • Misjudgment 4: Attributing all frame drops to the Flutter engine and ignoring the time cost of image decoding and large object allocation itself.

Measure three things before changing code: the troubleshooting order with the lowest evidence cost

Splitting the problem into the rendering layer, resource layer, and data layer is because the evidence cost differs across the three: build counts can be seen by opening DevTools, image decode sizes need to be checked in the memory and network panels, and the data layer requires API logs. If the order is reversed, it is easy to keep changing a layer that has no problem and waste a release cycle.

  1. Rendering layer: Record the build count of a single item within 30 seconds of scrolling. Normally it should be close to once per creation; repeated rebuilds usually mean state has been lifted above the scroll container or depends on scroll position.
  2. Resource layer: Check whether the actual decoded width and height of images match the display size. A common practice is to request images at about 2× the display width; network images without a decode size are decoded at original size.
  3. Data layer: Check whether hitting the bottom repeatedly sends requests, whether pagination results replace the whole list, and whether filtering or sorting is done in scroll callbacks.

For each step, first keep a pre-change baseline, such as average frame time and peak memory during 1 minute of continuous scrolling on the same mid-range Android phone; otherwise, after the change you can neither prove it worked nor tell which item made the difference.

What counts as acceptable: criteria that can go into an acceptance checklist

  • On a mid-range Android phone, continuous scrolling for 60 seconds keeps the frame rate at no less than 50 fps (experience range), with no obvious sustained device heating.
  • After staying on the list page for 5 minutes, process memory growth is controlled within 30%–50% of the initial value (experience range).
  • The build count of the same item does not keep rising with scroll distance; the build cost at item 200 is close to that at item 20.
  • Fast repeated scrolling up and down shows no blank blocks or image misalignment, and items rebuild normally after recycling.

Several approaches and their cost comparison: which part the difference falls on

There is no single answer for list implementation; the choice depends mainly on item count, per-row complexity, and whether images are controllable. Writing these three items clearly keeps the discussion from turning into a framework debate. The comparison below comes from common combinations in actual delivery, with effort estimated for developers familiar with the stack.

  • Switching only to an on-demand list: about half a day to 1 person-day of change (experience range); it only addresses when child items are created, while image decoding and caching remain uncontrolled, and it often still gets hot at the same scroll position.
  • Adding decode size limits and a cache cap: about 1–2 person-days (experience range); the benefit is clear for product feeds where operations upload images and sizes are uncontrollable, and this is the first priority for most projects.
  • Then adding state externalization and pagination append: about 1–3 person-days (experience range); it solves whole-table rebuilds, and the benefit is clearer with more items and heavier rows.
  • Then adding repaint isolation and constant subtrees: about half a day to 1 person-day (experience range); the difference is visible only when a row contains shadows, rounded corners, and multiple images. For text-only rows the benefit is limited, and adding too much increases maintenance cost.

If 90% of the list content is text and icons, check rebuilds and state granularity first; if every row has a large image, check decoding and caching first. This judgment is more useful than switching a widget.

Delivery scenario: if asset specs are not defined, performance will require rework

A common situation: operations upload product images of 3–5 MB each, the development cycle is two weeks, and the target devices are mainly Android phones in the CNY 2,000 range. The first version implemented only on-demand building and pagination; after launch, users reported that the phone became hot to the touch after scrolling twenty to thirty screens. Troubleshooting found that all images were decoded at original size and the cache had no cap. The changes were to request list images uniformly at 2× the display width, set a cache cap, and move state listeners from inside the item to outside the list. The cost was one round of rework and about a 3-day delay (experience range).

Therefore, during delivery, first check image sources and size specs, then confirm the acceptance baseline for frame rate and memory with the client and write it into the acceptance checklist. In enterprise project delivery practice, if the image spec item is not clarified before work starts, it will most likely have to be made up for in performance later; confirming it during design review saves much more than changing after QA raises issues.

Applicable and non-applicable boundaries

The scenarios suitable for hands-on optimization are clear: lists such as product feeds, content feeds, chat histories, and long tables that can reach hundreds of items and have heavy per-row content; projects with a high share of low- and mid-range Android phones; and front-end pages where images are uploaded by the backend or users and sizes are uncontrollable.

Conversely, the cases that are unsuitable or unnecessary should also be stated clearly: when the total list is within dozens of items and each row has only text and icons, dedicated image and cache optimization brings little benefit; for static, short pages such as pure settings pages and result pages, check rebuilds rather than images first; if the stutter actually comes from an embedded WebView or a native view hybrid layer, changing the Flutter list itself will not solve the problem.

A boundary judgment that can be quoted independently: The benefit of list optimization depends on per-row complexity and image source; when a row contains only text and icons, check rebuilds rather than images first.

FAQ

It only gets hot after scrolling to one or two hundred items, while the first few dozen are normal—is it an item-count problem?

Mostly it is caused by a quantitative change: the first few dozen items have fewer images and the cache is not full; after one or two hundred items, decoded bitmaps accumulate and rebuild counts rise, so heat and frame drops become apparent.

The images are already requested by display width, but it still gets hot—what else should I check?

Check whether the cache has a cap, whether the same image is decoded repeatedly, and whether the item creates animations, registers listeners, or performs long-text formatting during build.

Is it a problem to call setState to refresh the whole page on every pagination?

Yes. A common practice is to append new data to the existing list and refresh only the list area; a whole-page refresh makes the entire widget tree participate in rebuilding, and the effect is more obvious with more items.

It does not get hot on iOS but gets hot on Android—is it a problem with the same codebase?

Mostly it is still the same codebase; the difference lies in available memory and decoding cost. Mid-range Android phones are tighter, so it is recommended to write acceptance baselines by device tier rather than writing a separate set for each platform.

Within how many items can dedicated optimization be skipped?

Within dozens of items, when each row has only text and icons, dedicated optimization is generally unnecessary; investing after exceeding one or two hundred items or when rows contain large images has a better cost-benefit ratio.


If you happen to have a list page with heating and frame drops, first do one thing: on the same mid-range Android phone, record frame time and peak memory during 1 minute of continuous scrolling before changes, then troubleshoot in order through the rendering layer, resource layer, and data layer. This method is more effective for lists with hundreds of items and images; when there are very few items or the stutter comes from a native embedding layer, the benefit is limited, and you should troubleshoot in a different direction.

Have a similar project in mind?
Contact us for a one-to-one project reference proposal
Obtain Proposal
Interested in this topic?
10-year tech team — reference proposal within 24 hours
Obtain Proposal
Are you ready?
Then reach out to us!
+86-13370032918
Discover more services, feel free to contact us anytime.
Please fill in your requirements
What services would you like us to provide for you?
Your Budget
ct.
Our WeChat
Professional technical solutions
Phone
+86-13370032918 (Manager Jin)
The phone is busy or unavailable; feel free to add me on WeChat.
E-mail
349077570@qq.com
Submitted successfully
Thank you for your trust. We will contact you soon!
Recommended projects for you