如何修改通知颤动中的UI?

发布于 2025-01-23 13:00:25 字数 509 浏览 0 评论 0原文

我正在通过关注此教程使用

 audio_service: ^0.18.4
 just_audio: ^0.9.20

音乐播放器应用程序中的软件包运行顺利,但是我想在“通知视图”部分中添加一个按钮,有没有办法这样做? 如果必须在本机Android方面写入,则可能有文档?谢谢

I'm making a music player application by following this tutorial using packages from

 audio_service: ^0.18.4
 just_audio: ^0.9.20

the music player app runs smoothly, but I want to add a button in the notification view section, is there a way to do it?
if must be write in native Android side, there is documentation maybe? thanks

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里的微风 2025-01-30 13:00:25

我不是乱七八糟的专家,但我相信安装第三方库会给您一个答案,更具体地说是很棒的通知's 通过操作通知按钮部分。

我发现了这个网站和该视频,我认为这非常有用。背后的原因是我也基于此视频学到了,并且能够做出很棒的事情,因此我认为它也可以帮助您!

https://www.youtube.com/watch?v=jaq9fv = jaq9fvn3x7uu

=“ https://pub.dev/packages/awesome_notifications” rel =“ nofollow noreferrer”> https://pub.dev/packages/packages/awsome_notifications

我相信他们的脱节服务器(上面提到的文章)有一本非常有帮助的社区,我认为您可以得到比我更专业的答案。

I'm not a flutter expert, but I believe installing a third-party library would give you an answer, more specifically the awesome notifications 's Notifications with action buttons section.

I've found this website and this video, which in my opinion is very useful. The reason behind this is that I learned based on this video too and was able to make awesome things, so I think it could help you too!

https://www.youtube.com/watch?v=JAq9fVn3X7U

https://pub.dev/packages/awesome_notifications

I believe their discord server (mentioned in the above article) has a very helpful community, I think you could get a more professionally appropriate answer than from me.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文