如何修改通知颤动中的UI?
我正在通过关注此教程使用
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不是乱七八糟的专家,但我相信安装第三方库会给您一个答案,更具体地说是
很棒的通知
'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
'sNotifications 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.