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

flutter 实际开发中遇到的一些坑 #14

Open
jindada opened this issue Apr 13, 2019 · 2 comments
Open

flutter 实际开发中遇到的一些坑 #14

jindada opened this issue Apr 13, 2019 · 2 comments

Comments

@jindada
Copy link
Owner

jindada commented Apr 13, 2019

1. window.physicalSize

window.physicalSize 不要运用在build函数中 在run debug模式下没有问题 但是在profile模式下会无法显示widget,并会导致卡顿和影响到其他组件

@jindada
Copy link
Owner Author

jindada commented Apr 22, 2019

2. CustomPaint repaint

CustomPaint 重复渲染问题 问题类似 https://www.jianshu.com/p/bb2a856a2741
通过RepaintBoundary包裹CustomPaint 解决问题

@jindada
Copy link
Owner Author

jindada commented Apr 24, 2019

3.animController.animateTo

animController.animateTo 目标值为当前值时 代码无法往下进行 具体原因后续查看flutter issue

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