File tree 2 files changed +11
-12
lines changed 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -1385,9 +1385,9 @@ class RenderViewport extends RenderViewportBase<SliverPhysicalContainerParentDat
1385
1385
'If this widget is always nested in a scrollable widget there '
1386
1386
'is no need to use a viewport because there will always be enough '
1387
1387
'vertical space for the children. In this case, consider using a '
1388
- 'Column instead. Otherwise, consider using the "shrinkWrap" property '
1389
- '(or a ShrinkWrappingViewport) to size the height of the viewport '
1390
- 'to the sum of the heights of its children .' ,
1388
+ 'Column or Wrap instead. Otherwise, consider using a '
1389
+ 'CustomScrollView to concatenate arbitrary slivers into a '
1390
+ 'single scrollable .' ,
1391
1391
),
1392
1392
]);
1393
1393
}
@@ -1415,9 +1415,9 @@ class RenderViewport extends RenderViewportBase<SliverPhysicalContainerParentDat
1415
1415
'If this widget is always nested in a scrollable widget there '
1416
1416
'is no need to use a viewport because there will always be enough '
1417
1417
'horizontal space for the children. In this case, consider using a '
1418
- 'Row instead. Otherwise, consider using the "shrinkWrap" property '
1419
- '(or a ShrinkWrappingViewport) to size the width of the viewport '
1420
- 'to the sum of the widths of its children .' ,
1418
+ 'Row or Wrap instead. Otherwise, consider using a '
1419
+ 'CustomScrollView to concatenate arbitrary slivers into a '
1420
+ 'single scrollable .' ,
1421
1421
),
1422
1422
]);
1423
1423
}
Original file line number Diff line number Diff line change @@ -1708,9 +1708,8 @@ void main() {
1708
1708
' If this widget is always nested in a scrollable widget there is\n '
1709
1709
' no need to use a viewport because there will always be enough\n '
1710
1710
' horizontal space for the children. In this case, consider using a\n '
1711
- ' Row instead. Otherwise, consider using the "shrinkWrap" property\n '
1712
- ' (or a ShrinkWrappingViewport) to size the width of the viewport\n '
1713
- ' to the sum of the widths of its children.\n ' ,
1711
+ ' Row or Wrap instead. Otherwise, consider using a CustomScrollView\n '
1712
+ ' to concatenate arbitrary slivers into a single scrollable.\n ' ,
1714
1713
);
1715
1714
});
1716
1715
@@ -1743,9 +1742,9 @@ void main() {
1743
1742
' If this widget is always nested in a scrollable widget there is\n '
1744
1743
' no need to use a viewport because there will always be enough\n '
1745
1744
' vertical space for the children. In this case, consider using a\n '
1746
- ' Column instead. Otherwise, consider using the "shrinkWrap" \n '
1747
- ' property (or a ShrinkWrappingViewport) to size the height of the \n '
1748
- ' viewport to the sum of the heights of its children .\n ' ,
1745
+ ' Column or Wrap instead. Otherwise, consider using a \n '
1746
+ ' CustomScrollView to concatenate arbitrary slivers into a single \n '
1747
+ ' scrollable .\n ' ,
1749
1748
);
1750
1749
});
1751
1750
});
You can’t perform that action at this time.
0 commit comments