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

请问如何设置背景不添加蒙层 #12

Closed
ddwhan0123 opened this issue Apr 1, 2019 · 4 comments
Closed

请问如何设置背景不添加蒙层 #12

ddwhan0123 opened this issue Apr 1, 2019 · 4 comments

Comments

@ddwhan0123
Copy link

No description provided.

@Im-Kevin
Copy link
Owner

Im-Kevin commented Apr 1, 2019

你是说Popover吗,目前暂时不支持

@ddwhan0123
Copy link
Author

Popover cupertino_popover.dart 该文件内修改源码的话能实现么 不需要背景层的话

@ddwhan0123
Copy link
Author

感谢,在CupertinoPopoverButton这类,62行
修改 barrierColor: Colors.black54, 即可

@Im-Kevin
Copy link
Owner

Im-Kevin commented Apr 1, 2019

我已经将barrierColor放出来了,可以设置,不过如果要透明只能设置到Color.fromRGBO(0, 0, 0, 0.01),无法完全透明,请看新的文档

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

2 participants