flutter-devs / flutter_image_cropper_demo

A Flutter app to showcase image cropping.
13 stars 2 forks source link

EXCEPTION CAUGHT BY RENDERING LIBRARY #1

Open nb312 opened 5 years ago

nb312 commented 5 years ago

I/flutter (25011): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ I/flutter (25011): The following message was thrown during layout: I/flutter (25011): A RenderFlex overflowed by 41 pixels on the bottom. I/flutter (25011): I/flutter (25011): The overflowing RenderFlex has an orientation of Axis.vertical. I/flutter (25011): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and I/flutter (25011): black striped pattern. This is usually caused by the contents being too big for the RenderFlex. I/flutter (25011): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the I/flutter (25011): RenderFlex to fit within the available space instead of being sized to their natural size. I/flutter (25011): This is considered an error condition because it indicates that there is content that cannot be I/flutter (25011): seen. If the content is legitimately bigger than the available space, consider clipping it with a I/flutter (25011): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, I/flutter (25011): like a ListView. I/flutter (25011): The specific RenderFlex in question is: I/flutter (25011): RenderFlex#478f6 relayoutBoundary=up2 OVERFLOWING I/flutter (25011): creator: Column ← Center ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← I/flutter (25011): AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#1b161 ink I/flutter (25011): renderer] ← NotificationListener ← PhysicalModel ← I/flutter (25011): AnimatedPhysicalModel ← ⋯ I/flutter (25011): parentData: offset=Offset(0.0, 0.0) (can use size) I/flutter (25011): constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=512.0) I/flutter (25011): size: Size(360.0, 512.0) I/flutter (25011): direction: vertical I/flutter (25011): mainAxisAlignment: center I/flutter (25011): mainAxisSize: max I/flutter (25011): crossAxisAlignment: center I/flutter (25011): verticalDirection: down

nb312 commented 5 years ago

When I run it, it gets an error as above.