Mini doc addition to mention that slivers must be filled with RenderSlivers (#11972)

This commit is contained in:
xster 2017-09-07 10:56:17 -07:00 committed by GitHub
parent 8c61116c00
commit 038981bed9

View File

@ -248,6 +248,8 @@ abstract class ScrollView extends StatelessWidget {
/// list and a grid, use a list of three slivers: [SliverAppBar], [SliverList],
/// and [SliverGrid].
///
/// [Widget]s in these [slivers] must produce [RenderSliver] objects.
///
/// To control the initial scroll offset of the scroll view, provide a
/// [controller] with its [ScrollController.initialScrollOffset] property set.
///