1.An InputDecorator, which is typically created by a TextField, cannot have an unbounded width.
TextField需要指定边界,例如外层包一个SizedBox,或者添加Expanded
2.A RenderFlex overflowed by 99887 pixels on the bottom.
界面布局超出边界
3.type 'Future<dynamic>' is not a subtype of type 'String'
数据类型不匹配
4.Invalid argument(s): No host specified in URI file:///
非法参数
5.Column's children must not contain any null values, but a null value was found at index 0
column的子项必须不能有空
6.A SingleTickerProviderStateMixin can only be used as a TickerProvider once
将SingleTickerProviderStateMixin改成TickerProviderStateMixin
7.Horizontal viewport was given unbounded height.
高度未指定边界,或者高度计算有问题
8.Navigator.pop(context)黑屏问题
BuildContext错误,Scaffold的BuildContext可能是上一个页面的context
9. This package referenced a Flutter repository via the .packages file that is no longer available.
可能由于sdk未配置,导致无法识别文件
10.No Directionality widget found.
text设置属性textDirection
网友评论