addAutomaticKeepAlives property
final
Whether to wrap each child in an AutomaticKeepAlive.
Typically, lazily laid out children are wrapped in AutomaticKeepAlive widgets so that the 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.
Defaults to true.
Implementation
final bool addAutomaticKeepAlives;