pub trait SliverWithKeepAliveWidget: RenderObjectWidgetwhere
Self::RenderObject: RenderSliverWithKeepAliveMixin,{ }Expand description
A base class for slivers that have KeepAlive children.
See also:
KeepAlive, which marks whether its child widget should be kept alive.SliverChildBuilderDelegateandSliverChildListDelegate, slivers which make use of the keep alive functionality through theaddAutomaticKeepAlivesproperty.SliverList, a sliver widget that is commonly wrapped withKeepAlivewidgets to preserve its sliver child subtrees.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".