Add a doc describing where CupertinoSliverRefreshControl should be in a list of slivers (#19282)

This commit is contained in:
xster 2018-07-11 17:05:24 -07:00 committed by GitHub
parent 94959a340c
commit 2c00e5f218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,6 +250,10 @@ typedef Future<void> RefreshCallback();
/// other words, refreshes can't be triggered with lists using
/// [ClampingScrollPhysics].
///
/// In a typical application, this sliver should be inserted between the app bar
/// sliver such as [CupertinoSliverNavigationBar] and your main scrollable
/// content's sliver.
///
/// See also:
///
/// * [CustomScrollView], a typical sliver holding scroll view this control