gzlock / flutter_danplayer Goto Github PK
View Code? Open in Web Editor NEWA Flutter Danmaku Player Widget
License: MIT License
A Flutter Danmaku Player Widget
License: MIT License
找半天都没找到DanPlayerController是从哪里来的...
我仔细看了,是使用的一个 CustomPainter 但是 shouldRepaint 一直返回的是false
我看文档上说 返回false 就不会进行更新
请问是从哪儿进行的动画呢?
我只看到了monitor 里面有定义动画 是通过 timer 还是通过 animation 还是通过 DanPlayerController 的回调之类的 进行的动画呢?
我最主要的是想单独把弹幕提取出来 丰富一下弹幕的样式 形式类似于 斗鱼 有礼物之类的弹幕 , 看懂了定义,但是一直没有明白 这个 CustomPainter 到底是怎么动起来的?
还望赐教,感谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.