简体   繁体   English

如何使用 flutter_bloc 处理动画

[英]How to handle animations using flutter_bloc

I have read almost every tutorial at https://bloclibrary.dev/ but I have not found any mentions how to handle animations using Bloc.我已经阅读了https://bloclibrary.dev/ 上的几乎所有教程,但我没有发现任何提及如何使用 Bloc 处理动画的内容。 Is the solution use setState for local state management or there is any solution I missed?解决方案是使用 setState 进行本地状态管理还是我错过了任何解决方案?

由于动画与UI相关,UI部分不建议使用状态管理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM