flutter-notifications

Integrate push and local notifications into Flutter apps with firebase_messaging and flutter_local_notifications.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/wildbitca/ai-resources --skill flutter-notifications
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: flutter-notifications
Source: https://github.com/wildbitca/ai-resources/tree/main/skills/flutter-notifications
Command: npx skills add https://github.com/wildbitca/ai-resources --skill flutter-notifications

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Centralizes push and local notifications in Flutter apps by leveraging Firebase Cloud Messaging and flutter_local_notifications, reducing boilerplate and ensuring consistent behavior across platforms.

Core Features & Use Cases

  • Unified notification strategy: Use FCM for push and flutter_local_notifications for in-app/foreground alerts.
  • Lifecycle handling: Robust support for Foreground, Background, and Terminated states with reliable navigation from taps.
  • Permission and UX: Guidance for priming user consent before system prompts and returning to relevant screens on interaction.
  • Cross-platform consistency: Works on iOS and Android with proper badge management and platform-specific nuances.

Quick Start

Initialize Firebase, request notification permissions, and wire the notification handlers using the provided Flutter NotificationService.

Frequently Asked Questions about flutter-notifications

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle push notifications in Flutter across foreground, background, and terminated states?▼

Flutter push notifications require robust lifecycle handling across foreground, background, and terminated states. This integration uses firebase_messaging to manage these states reliably and ensure consistent navigation from notification taps.

What is the best way to combine Firebase Cloud Messaging and local notifications in Flutter?▼

The best way to manage local and push notifications in Flutter is a unified strategy using firebase_messaging for push delivery and flutter_local_notifications for in-app foreground alerts, reducing boilerplate and ensuring cross-platform consistency.

How do I request notification permissions and manage iOS badges in a Flutter app?▼

Notification permissions and iOS badge management in Flutter require priming user consent before system prompts. This approach handles permission requests and platform-specific badge nuances to maintain cross-platform consistency.

Does Firebase Cloud Messaging work for handling local notifications on both iOS and Android in Flutter?▼

Firebase Cloud Messaging handles push notifications, while flutter_local_notifications manages local alerts across iOS and Android. Combining them provides consistent end-to-end notification support and proper platform-specific badge management.

How do I navigate to a specific screen from a push notification payload in Flutter?▼

Payload navigation from push notification taps in Flutter requires wiring specific notification handlers. This integration wires foreground and background handlers using a dedicated NotificationService to return users to relevant screens upon interaction.

Why are my Flutter local notifications not showing when the app is terminated?▼

Local and push notifications in Flutter often fail in terminated states without proper lifecycle handling. Configuring firebase_messaging and flutter_local_notifications ensures reliable payload navigation and alert delivery when the app is closed.