Firebase Messaging Plugin for Flutter

Share Your Love

Firebase Messaging Plugin For Flutter Github repository.

A Flutter plugin to use the Firebase Cloud Messaging API.

To learn more about Firebase Cloud Messaging, please visit the Firebase website

Getting Started

To get started with Firebase Cloud Messaging for Flutter, please see the documentation.

Why flutter_fcm?

  • ūüöÄ Easy to use
  • ‚ö° Supports local notification


The easiest way to use this library is via the top-level functions.

import 'package:flutter_fcm/flutter_fcm.dart';

class Messaging {
  static String token;
  static initFCM()async{
      await FCM.initializeFCM(
          onNotificationPressed: (Map<String, dynamic> data) {

          onTokenChanged: (String token) {
            Messaging.token = token;
          icon: 'icon'

Join Our Community

Join our WhatsApp Group To know more about Programming Language tips, tricks and knowledge about and how to start learning any programming language.

#Firebase #Message #API

Share Your Love
Avatar photo
Lingaraj Senapati

Hey There! I am Lingaraj Senapati, the Founder of My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.

Articles: 429

Newsletter Updates

Enter your email address below to subscribe to our newsletter