Git Product home page Git Product logo

Comments (9)

boyan01 avatar boyan01 commented on May 25, 2024

flutter 版本信息给一下哈

from flutter-netease-music.

ljfass avatar ljfass commented on May 25, 2024

版本号:1.6.3

from flutter-netease-music.

boyan01 avatar boyan01 commented on May 25, 2024

先升级到 1.7.x 的 stable 版本吧,1.6 也太早了... 现在 1.9 的 stable 版都出来了。

from flutter-netease-music.

ljfass avatar ljfass commented on May 25, 2024

行吧

from flutter-netease-music.

ljfass avatar ljfass commented on May 25, 2024

呃,顺便多问一句,你项目里使用的播放器那部分的代码,有点太复杂了,看不太懂,能简单说说吗?感谢了!

from flutter-netease-music.

boyan01 avatar boyan01 commented on May 25, 2024

播放器代码?指 flutter 还是 native 呐?

播放器无非就是拿个 controller 来控制 service 播放/暂停、切换下一曲;然后 widget 监听播放器状态,当播放器状态改变时,刷新相关的 widget。

理清上面这个大思路就行了。更细节的地方,一两句话也说不清楚...

from flutter-netease-music.

ljfass avatar ljfass commented on May 25, 2024

那个player_channel是还含有native的思路和写法吗

from flutter-netease-music.

boyan01 avatar boyan01 commented on May 25, 2024

player_channel 属于这个项目了 https://github.com/boyan01/flutter-music-player

flutter 目前无法播放音视频,所以肯定要与 native 交互才行的。

播放器的设计主要是采用了Android MediaSession 的架构**。

from flutter-netease-music.

ljfass avatar ljfass commented on May 25, 2024

👌

from flutter-netease-music.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.