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

banner显示细节问题 #2

Closed
EvanEvil opened this issue Nov 3, 2020 · 1 comment
Closed

banner显示细节问题 #2

EvanEvil opened this issue Nov 3, 2020 · 1 comment

Comments

@EvanEvil
Copy link

EvanEvil commented Nov 3, 2020

发现个问题,banner加载的时候,显示出来的效果是先加载出矩形图片,然后再裁剪出圆角,我的解决方案是去掉BoxDecoration的borderRadius,而是在Stack外边包裹一个ClipRRect来裁剪出圆角

@fmtjava
Copy link
Owner

fmtjava commented Nov 7, 2020

非常细心,去掉BoxDecoration的borderRadius,而是在Stack外边包裹一个ClipRRect来裁剪出圆角,此方法可行

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