Fix error message to refer to actual ClipRect widget instead of non-existing RectClip (#12632)

This commit is contained in:
robertoscaramuzzi
2017-10-19 15:27:48 -07:00
committed by GitHub
parent 81a358b7a8
commit 1573d3b886

View File

@@ -1074,7 +1074,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
information.writeln(
'This is considered an error condition because it indicates that there is content '
'that cannot be seen. If the content is legitimately bigger than the available '
'space, consider clipping it with a RectClip widget before putting it in the flex, '
'space, consider clipping it with a ClipRect widget before putting it in the flex, '
'or using a scrollable container rather than a Flex, for example using ListView.'
);
information.writeln('The specific $runtimeType in question is:');