flutter-notifications

Installation
SKILL.md

Flutter Notifications

Priority: P1 (OPERATIONAL)

Implementation Workflow

  1. Set up packages — Add firebase_messaging (Push) and flutter_local_notifications (Local/Foreground).
  2. Request permission — Prime users with custom dialog explaining benefits before system prompt.
  3. Handle all lifecycle states — Implement handlers for Foreground, Background, and Terminated states.
  4. Validate payloads — Strictly validate notification data before navigating to screens.
  5. Clear badges — Manually clear iOS app badges when visiting relevant screens.

Lifecycle Handlers Example

See implementation examples for foreground, background, and terminated state notification handling.

Implementation Details

Anti-Patterns

Installs
2
GitHub Stars
521
First Seen
May 27, 2026
flutter-notifications — hoangnguyen0403/agent-skills-standard