Skip to content
pubscout

clear_all_notifications

1.0.0, released 3 years ago by an unverified publisher

Clears all active Android and iOS notifications with a single static method

WASM-ready
$ flutter pub add clear_all_notifications
Source repository

What it does

This plugin exposes a static method that removes every notification currently displayed on Android and iOS devices. It works by calling platform-specific APIs to cancel all notifications.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to clear all notifications at once, e.g., after a user logs out or completes a task
  • You want a lightweight solution without additional dependencies

Skip it when

  • You need granular control over individual notifications
  • You are already using a full-featured notification plugin like flutter_local_notifications

Strengths

  • Very small API surface
  • No runtime dependencies beyond Flutter
  • Supports both Android and iOS

Weaknesses

  • No support for notification scheduling or custom actions
  • Limited to clearing all notifications, not selective removal

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0
await ClearAllNotifications.clear();

Alternatives

Packages that do the same job and could replace clear_all_notifications.