小编Fra*_*nyo的帖子

扑底溢出

任何人都可以帮助我解决这个我不断遇到的异常吗?我不确定接下来要尝试什么来修复面板扩展时的溢出。我试过把它包装成一个灵活的小部件,但这似乎并没有解决这个问题。

这是我的例外:

???????? Exception caught by rendering library ?????????????????????????????????????????????????????
The following assertion was thrown during layout:
A RenderFlex overflowed by 68 pixels on the bottom.

The relevant error-causing widget was: 
  Column file:///Users/selorm/AndroidStudioProjects/flutter_master/lib/src/widgets/weather_widget.dart:17:14
The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex.

Consider applying a flex factor (e.g. …
Run Code Online (Sandbox Code Playgroud)

dart flutter flutter-layout

2
推荐指数
1
解决办法
5979
查看次数

标签 统计

dart ×1

flutter ×1

flutter-layout ×1