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

对悬浮按钮的疑惑 #72

Open
shexm opened this issue Jan 14, 2021 · 2 comments
Open

对悬浮按钮的疑惑 #72

shexm opened this issue Jan 14, 2021 · 2 comments

Comments

@shexm
Copy link

shexm commented Jan 14, 2021

flutter入门,对项目里的悬浮按钮组件OverlayToolWrapper很感兴趣,但是有一个疑惑,就是在初级路由页面的时候移动悬浮按钮会有一个靠边的动画,调用_ctrl.forward()之后_listenAnimate回调方法能正常执行,但是为什么进入子路由页面调用_ctrl.forward()之后_listenAnimate回调方法只执行了一次,所以靠边的动画消失了。

@toly1994328
Copy link
Owner

哈哈,终于有人发现了,我也不知道,有待研究。现在这样先用着吧,研究好了告诉你。

@shexm
Copy link
Author

shexm commented Jan 14, 2021

哈哈,我以为是大佬故意这样设计的,就是一直找不到怎么实现这个效果。

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