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

Platformweb

The web implementation of firebase_messaging

Use this package as a library

Depend on it

Run this command:

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 flutter pub get):

dependencies:
  firebase_messaging_web: ^3.9.5

Alternatively, your editor might support 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';