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

showPickerModal 里,如何正确设置picker 圆角? #189

Open
daruo opened this issue Feb 7, 2023 · 1 comment
Open

showPickerModal 里,如何正确设置picker 圆角? #189

daruo opened this issue Feb 7, 2023 · 1 comment

Comments

@daruo
Copy link

daruo commented Feb 7, 2023

flutter_picker 确实很优秀,这里必须要先点个赞。在项目中有个需求,就是bottomsheet的头部需要是圆角,查看了showPickerModal 方法源码,最终picker 的最外层是GestureDetector ,再往下是Column ,我在headerDecoration 属性中虽然设置了圆角,设置了header颜色,,header widget是圆角,但受Column 影响,header的下一层widget 还是平的, 同样,设置 builderHeader 属性,也是同样的结果,感觉是我设置的方式不对,请问该如何正确设置picker圆角呢?
picker_issue

@daruo daruo changed the title showPickerModal 里,如何正确设置picker header 设置圆角? showPickerModal 里,如何正确设置picker 圆角? Feb 7, 2023
@shenpengpeng
Copy link

您好 我也碰到这个问题 请问您找到解决方案了吗

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