首页 > 解决方案 > 如何以编程方式从状态栏中删除活动通知?

问题描述

我想从设备中删除所有活动通知,在 android 中有一种方法可以做到这一点,它是通过使用这个:NotificationManagerCompat.from(context).cancelAll()

我想知道颤振的替代方案,我试过用插件flutter_local_notifications找到一个,但没有。

标签: androidflutterdartmobilenotifications

解决方案


推荐阅读