FlutterUnit icon indicating copy to clipboard operation
FlutterUnit copied to clipboard

提示框的注解描述错误

Open yinanwang1 opened this issue 2 years ago • 11 comments

在组件CustomAlertDialog,CustomSimpleDialog中shape,elevation,backgroundColor的说明错误。 image

yinanwang1 avatar Dec 15 '21 02:12 yinanwang1

看到所有的弹窗都使用了showDialog()方法,那么针对Cupertino风格就缺少了响应的动画。 如CupertinoActionSheet需要用showCupertinoModalPopup(). CupertinoAlertDialog需要用showCupertinoDialog().

yinanwang1 avatar Dec 15 '21 02:12 yinanwang1

DayPicker 已经被抛弃了。 @Deprecated( 'Use CalendarDatePicker instead. ' 'This feature was deprecated after v1.26.0-18.0.pre.', )

yinanwang1 avatar Dec 15 '21 03:12 yinanwang1

image GridTileBar没有Value的属性。

yinanwang1 avatar Dec 16 '21 06:12 yinanwang1

image IconButton没有child属性。icon不是内边距,是Icon的组件。

yinanwang1 avatar Dec 16 '21 06:12 yinanwang1

image VerticalDivider没有height属性。

yinanwang1 avatar Dec 16 '21 06:12 yinanwang1

image GridPaper的文件夹,应该为GridPager。

yinanwang1 avatar Dec 16 '21 06:12 yinanwang1

用着用着就卡住了,点击所有的地方都没有反应,只能杀进程。出现过很多次。 这个会是什么导致的?突然感觉flutter的隐患有点多啊。

yinanwang1 avatar Dec 17 '21 07:12 yinanwang1

image activeThumbImage的备注错误,应该为:选中是小圈的图片

yinanwang1 avatar Dec 23 '21 09:12 yinanwang1

执行报错: The following NoSuchMethodError was thrown while handling a gesture: The method 'save' was called on null. Receiver: null Tried calling: save() image 应该是没有使用Form导致的。

yinanwang1 avatar Dec 27 '21 07:12 yinanwang1

image Scrollable没有color属性,也不叫子组件。

yinanwang1 avatar Dec 27 '21 08:12 yinanwang1

Transform的平移中,比如平移X image 现在显示的位置为(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);

yinanwang1 avatar Dec 30 '21 12:12 yinanwang1