firebase_messaging_web 3.8.12 copy "firebase_messaging_web: ^3.8.12" to clipboard
firebase_messaging_web: ^3.8.12 copied to clipboard

The web implementation of firebase_messaging

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add firebase_messaging_web

With Flutter:

 $ flutter pub add firebase_messaging_web

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  firebase_messaging_web: ^3.8.12

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:firebase_messaging_web/firebase_messaging_web.dart';