[英]Flutter - How to change the background color of awesome_notification?
I am using the awesome_notification plugin to show scheduled notifications in flutter. Everything works fine, but the notification is so simple-looking.我正在使用 awesome_notification 插件在 flutter 中显示预定的通知。一切正常,但通知看起来很简单。 It has a white background and black text.它具有白色背景和黑色文本。 I wonder if there is a way to change the notification's background color.我想知道是否有办法更改通知的背景颜色。
NotificationChannel(
channelGroupKey: 'basic_tests',
channelKey: 'basic_channel',
channelName: 'Basic notifications',
channelDescription: 'Notification channel for basic tests',
defaultColor: Color(0xFF9D50DD),
ledColor: Colors.white,
importance: NotificationImportance.High
),
If you need more clarification refer the link如果您需要更多说明,请参阅链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.