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

CupertinoPopoverButton能否添加阴影? #45

Closed
lanistor opened this issue Apr 12, 2020 · 2 comments
Closed

CupertinoPopoverButton能否添加阴影? #45

lanistor opened this issue Apr 12, 2020 · 2 comments

Comments

@lanistor
Copy link

现在是默认蒙层,但是有时候蒙层对交互阻断比较强,不符合我们产品的UI交互,所以能否提供一个阴影的方式呢?
(蒙层能去掉最好,如果无法去掉,可以自己设置为近似透明色也是OK的)

@Im-Kevin
Copy link
Owner

0.5.5版本已经添加了阴影效果,而蒙层的问题你可以将barrierColor设置为Color(0x01FFFFFF),这样你看到的效果就近乎透明,不能设置为Colors.transparent,这样的话会报错

@lanistor
Copy link
Author

太赞啦,非常感谢

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