awesome_notifications
0.12.1, released 5 months ago by carda.me
Create and customize local and push notifications in Flutter apps.
What it does
A complete solution to create local and push notifications with custom buttons, images, sounds, emoticons, and multiple layouts. It handles real-time user interaction events and scheduled notifications.
AI-written summary of version 0.12.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need rich, highly customizable local or push notifications with images, action buttons, or special layouts.
- You require real-time event handling when notifications are displayed, dismissed, or tapped by the user.
Skip it when
- You are already using `flutter_local_notifications` or another conflicting notification plugin.
- You only need extremely simple notifications and want to avoid complex native configuration steps.
Strengths
- Supports multiple rich notification layouts (big picture, inbox, media, messaging, progress bars).
- Provides real-time event tracking for notification lifecycle actions.
- Allows scheduling notifications with second precision.
Weaknesses
- Incompatible with other third-party notification plugins like `flutter_local_notifications`.
- Requires manual configuration of native manifests, permissions, and Podfiles depending on the version.
Setup
- Kind
- Plugin (native code)
- Effort
- High
- Code generation
- No
- Direct dependencies
- 2
Requires specific native configuration including minimum iOS deployment targets (iOS 15.0), Android SDK configurations, manual permissions in AndroidManifest.xml, and modifications to Podfiles.
AwesomeNotifications().initialize(
'resource://drawable/res_app_icon',
[
NotificationChannel(
channelKey: 'basic_channel',
channelName: 'Basic notifications',
channelDescription: 'Notification channel for basic tests',
defaultColor: Color(0xFF9D50DD),
ledColor: Colors.white
)
],
debug: true
);Alternatives
Packages that do the same job and could replace awesome_notifications.
- flutter_local_notifications
If you prefer a widely-used alternative for local notifications that does not conflict with specific core libraries, though it has different customization capabilities.
96Compare - onesignal_flutter
If you want an all-in-one hosted push notification service rather than building a custom local/push pipeline.
82Compare
Works with
Packages commonly used together with awesome_notifications: ones it builds on, ones built on it, and its own family.
- intlawesome_notifications depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- plugin_platform_interfaceawesome_notifications depends on itReusable base class for platform interfaces of Flutter federated plugins.
- awesome_notifications_fcmBuilt on awesome_notificationsFirebase Cloud Messaging integration for awesome_notifications push features