Commit 038981be authored by xster's avatar xster Committed by GitHub

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

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