Unverified Commit d50b5a07 authored by Dan Field's avatar Dan Field Committed by GitHub

Stop recommending "shrinkWrap" (#104008)

parent 4b678271
...@@ -1385,9 +1385,9 @@ class RenderViewport extends RenderViewportBase<SliverPhysicalContainerParentDat ...@@ -1385,9 +1385,9 @@ class RenderViewport extends RenderViewportBase<SliverPhysicalContainerParentDat
'If this widget is always nested in a scrollable widget there ' 'If this widget is always nested in a scrollable widget there '
'is no need to use a viewport because there will always be enough ' 'is no need to use a viewport because there will always be enough '
'vertical space for the children. In this case, consider using a ' 'vertical space for the children. In this case, consider using a '
'Column instead. Otherwise, consider using the "shrinkWrap" property ' 'Column or Wrap instead. Otherwise, consider using a '
'(or a ShrinkWrappingViewport) to size the height of the viewport ' 'CustomScrollView to concatenate arbitrary slivers into a '
'to the sum of the heights of its children.', 'single scrollable.',
), ),
]); ]);
} }
...@@ -1415,9 +1415,9 @@ class RenderViewport extends RenderViewportBase<SliverPhysicalContainerParentDat ...@@ -1415,9 +1415,9 @@ class RenderViewport extends RenderViewportBase<SliverPhysicalContainerParentDat
'If this widget is always nested in a scrollable widget there ' 'If this widget is always nested in a scrollable widget there '
'is no need to use a viewport because there will always be enough ' 'is no need to use a viewport because there will always be enough '
'horizontal space for the children. In this case, consider using a ' 'horizontal space for the children. In this case, consider using a '
'Row instead. Otherwise, consider using the "shrinkWrap" property ' 'Row or Wrap instead. Otherwise, consider using a '
'(or a ShrinkWrappingViewport) to size the width of the viewport ' 'CustomScrollView to concatenate arbitrary slivers into a '
'to the sum of the widths of its children.', 'single scrollable.',
), ),
]); ]);
} }
......
...@@ -1708,9 +1708,8 @@ void main() { ...@@ -1708,9 +1708,8 @@ void main() {
' If this widget is always nested in a scrollable widget there is\n' ' If this widget is always nested in a scrollable widget there is\n'
' no need to use a viewport because there will always be enough\n' ' no need to use a viewport because there will always be enough\n'
' horizontal space for the children. In this case, consider using a\n' ' horizontal space for the children. In this case, consider using a\n'
' Row instead. Otherwise, consider using the "shrinkWrap" property\n' ' Row or Wrap instead. Otherwise, consider using a CustomScrollView\n'
' (or a ShrinkWrappingViewport) to size the width of the viewport\n' ' to concatenate arbitrary slivers into a single scrollable.\n',
' to the sum of the widths of its children.\n',
); );
}); });
...@@ -1743,9 +1742,9 @@ void main() { ...@@ -1743,9 +1742,9 @@ void main() {
' If this widget is always nested in a scrollable widget there is\n' ' If this widget is always nested in a scrollable widget there is\n'
' no need to use a viewport because there will always be enough\n' ' no need to use a viewport because there will always be enough\n'
' vertical space for the children. In this case, consider using a\n' ' vertical space for the children. In this case, consider using a\n'
' Column instead. Otherwise, consider using the "shrinkWrap"\n' ' Column or Wrap instead. Otherwise, consider using a\n'
' property (or a ShrinkWrappingViewport) to size the height of the\n' ' CustomScrollView to concatenate arbitrary slivers into a single\n'
' viewport to the sum of the heights of its children.\n', ' scrollable.\n',
); );
}); });
}); });
......
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