Jamie
Mar 10, 2023

Sorry for the late reply.

From the Docs

https://api.flutter.dev/flutter/widgets/SliverChildBuilderDelegate/addAutomaticKeepAlives.html

Whether to wrap each child in an AutomaticKeepAlive.

Typically, children in lazy list are wrapped in AutomaticKeepAlive widgets so that children can use KeepAliveNotifications to preserve their state when they would otherwise be garbage collected off-screen.

This feature (and addRepaintBoundaries) must be disabled if the children are going to manually maintain their KeepAlive state. It may also be more efficient to disable this feature if it is known ahead of time that none of the children will ever try to keep themselves alive.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Jamie
Jamie

Written by Jamie

Flutter, React Native, Android, iOS App developer.

No responses yet

Write a response