Unverified Commit 734d2a22 authored by Chintan Patel's avatar Chintan Patel Committed by GitHub

AdoptAWidget: SliverWithKeepAliveWidget (#69470) (#69557)

parent 57a13c3e
......@@ -746,6 +746,15 @@ class SliverChildListDelegate extends SliverChildDelegate {
}
/// A base class for sliver that have [KeepAlive] children.
///
/// See also:
///
/// * [KeepAlive], which marks whether its chlild widget should be kept alive.
/// * [SliverChildBuilderDelegate] and [SliverChildListDelegate], slivers
/// which make usr of the keep alive functionality through the
/// `addAutomaticKeepAlives` property.
/// * [SliverGrid] and [SliverList], two sliver widgets that are commonly
/// wrapped with [KeepAlive] widgets to preserve their sliver child subtrees.
abstract class SliverWithKeepAliveWidget extends RenderObjectWidget {
/// Initializes fields for subclasses.
const SliverWithKeepAliveWidget({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment