mhgd3250905 / WANAndroid_Proj

WANAndroid Flutter 客户端
18 stars 5 forks source link

A RenderFlex overflowed by 2.0 pixels on the bottom. #3

Open leodu1234 opened 4 years ago

leodu1234 commented 4 years ago

I/flutter (16733): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ I/flutter (16733): The following assertion was thrown during layout: I/flutter (16733): A RenderFlex overflowed by 2.0 pixels on the bottom. I/flutter (16733): I/flutter (16733): The relevant error-causing widget was: I/flutter (16733): Column file:///D:/zhihu%20flutter/zhihu-flutter/lib/home/reply_page.dart:176:46 I/flutter (16733): I/flutter (16733): The overflowing RenderFlex has an orientation of Axis.vertical. I/flutter (16733): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and I/flutter (16733): black striped pattern. This is usually caused by the contents being too big for the RenderFlex. I/flutter (16733): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the I/flutter (16733): RenderFlex to fit within the available space instead of being sized to their natural size. I/flutter (16733): This is considered an error condition because it indicates that there is content that cannot be I/flutter (16733): seen. If the content is legitimately bigger than the available space, consider clipping it with a I/flutter (16733): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, I/flutter (16733): like a ListView. I/flutter (16733): The specific RenderFlex in question is: RenderFlex#7b7d0 relayoutBoundary=up3 OVERFLOWING: I/flutter (16733): creator: Column ← ConstrainedBox ← Padding ← Container ← IconTheme ← Builder ← Align ← SizedBox ← I/flutter (16733): Padding ← ConstrainedBox ← _PointerListener ← Listener ← ⋯ I/flutter (16733): parentData: (can use size) I/flutter (16733): constraints: BoxConstraints(0.0<=w<=32.0, h=30.0) I/flutter (16733): size: Size(20.0, 30.0) I/flutter (16733): direction: vertical I/flutter (16733): mainAxisAlignment: start I/flutter (16733): mainAxisSize: max I/flutter (16733): crossAxisAlignment: center I/flutter (16733): verticalDirection: down I/flutter (16733): ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤ I/flutter (16733): ════════════════════════════════════════════════════════════════════════════════════════════════════ I/flutter (16733): Another exception was thrown: A RenderFlex overflowed by 2.0 pixels on the bottom. √ Built build\app\outputs\apk\debug\app-debug.apk. Syncing files to device Android SDK built for x86...

leodu1234 commented 4 years ago

尝试着 调整一下 没搞定 楼主有空 FIX一下啦