Commit 1573d3b8 authored by robertoscaramuzzi's avatar robertoscaramuzzi Committed by GitHub

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

parent 81a358b7
...@@ -1074,7 +1074,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl ...@@ -1074,7 +1074,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
information.writeln( information.writeln(
'This is considered an error condition because it indicates that there is content ' '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 ' '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.' 'or using a scrollable container rather than a Flex, for example using ListView.'
); );
information.writeln('The specific $runtimeType in question is:'); information.writeln('The specific $runtimeType in question is:');
......
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