FlutterUnit
FlutterUnit copied to clipboard
提示框的注解描述错误
在组件CustomAlertDialog,CustomSimpleDialog中shape,elevation,backgroundColor的说明错误。
看到所有的弹窗都使用了showDialog()方法,那么针对Cupertino风格就缺少了响应的动画。 如CupertinoActionSheet需要用showCupertinoModalPopup(). CupertinoAlertDialog需要用showCupertinoDialog().
DayPicker 已经被抛弃了。 @Deprecated( 'Use CalendarDatePicker instead. ' 'This feature was deprecated after v1.26.0-18.0.pre.', )
GridTileBar没有Value的属性。
IconButton没有child属性。icon不是内边距,是Icon的组件。
VerticalDivider没有height属性。
GridPaper的文件夹,应该为GridPager。
用着用着就卡住了,点击所有的地方都没有反应,只能杀进程。出现过很多次。 这个会是什么导致的?突然感觉flutter的隐患有点多啊。
activeThumbImage的备注错误,应该为:选中是小圈的图片
执行报错:
The following NoSuchMethodError was thrown while handling a gesture: The method 'save' was called on null. Receiver: null Tried calling: save()
应该是没有使用Form导致的。
Scrollable没有color属性,也不叫子组件。
Transform的平移中,比如平移X
现在显示的位置为(0, 3),这个位置不对。
查看代码
int index(int row, int col) => (col * 4) + row;
double entry(int row, int col) {
return _m4storage[index(row, col)];
}
可以看到index计算,是col乘以4,也就是index取到的index为 3 * 4 + 0 = 12. 也就是Matrix4的double arg12值。
相当于平移30,应该为Matrix4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 30, 0, 0, 1)
执行的代码应该为:
_m4 = Matrix4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, _x, _y, _z, 1);