dart_fcm 0.0.24 dart_fcm: ^0.0.24 copied to clipboard
A wrapper package for setting up and consuming cloud notifications from firebase
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dart_fcm
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dart_fcm: ^0.0.24
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:dart_fcm/dart_fcm.dart';