Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示框的注解描述错误 #92

Open
yinanwang1 opened this issue Dec 15, 2021 · 11 comments
Open

提示框的注解描述错误 #92

yinanwang1 opened this issue Dec 15, 2021 · 11 comments

Comments

@yinanwang1
Copy link

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

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

image
GridTileBar没有Value的属性。

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

image
VerticalDivider没有height属性。

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

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

@yinanwang1
Copy link
Author

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant