Unverified Commit 210e2fa3 authored by xster's avatar xster Committed by GitHub

Fix ListView dartdoc where a paragraph doesn't flow with the section heading...

Fix ListView dartdoc where a paragraph doesn't flow with the section heading and the other paragraphs in the section (#18430)
parent 5ed02905
...@@ -471,6 +471,10 @@ abstract class BoxScrollView extends ScrollView { ...@@ -471,6 +471,10 @@ abstract class BoxScrollView extends ScrollView {
/// 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.
/// ///
/// By default, [ListView] will automatically pad the list's scrollable
/// extremities to avoid partial obstructions indicated by [MediaQuery]'s
/// padding. To avoid this behavior, override with a zero [padding] property.
///
/// ## Sample code /// ## Sample code
/// ///
/// An infinite list of children: /// An infinite list of children:
...@@ -515,9 +519,9 @@ abstract class BoxScrollView extends ScrollView { ...@@ -515,9 +519,9 @@ abstract class BoxScrollView extends ScrollView {
/// [CustomScrollView.slivers] property instead of the list itself, and having /// [CustomScrollView.slivers] property instead of the list itself, and having
/// the [SliverList] instead be a child of the [SliverPadding]. /// the [SliverList] instead be a child of the [SliverPadding].
/// ///
/// By default, [ListView] will automatically pad the list's scrollable /// [CustomScrollView]s don't automatically avoid obstructions from [MediaQuery]
/// extremities to avoid partial obstructions indicated by [MediaQuery]'s /// like [ListView]s do. To reproduce the behavior, wrap the slivers in
/// padding. To avoid this behavior, override with a zero [padding] property. /// [SliverSafeArea]s.
/// ///
/// Once code has been ported to use [CustomScrollView], other slivers, such as /// Once code has been ported to use [CustomScrollView], other slivers, such as
/// [SliverGrid] or [SliverAppBar], can be put in the [CustomScrollView.slivers] /// [SliverGrid] or [SliverAppBar], can be put in the [CustomScrollView.slivers]
......
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