push_fire_notifications 0.0.9 push_fire_notifications: ^0.0.9 copied to clipboard
Push notification is a notification handling package. you can use it with firebase. it makes helps to readable code and decreases the time to implement push notifications.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add push_fire_notifications
With Flutter:
$ flutter pub add push_fire_notifications
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
push_fire_notifications: ^0.0.9
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:push_fire_notifications/push_notification.dart';
import 'package:push_fire_notifications/push_notification/firebase_notification_api.dart';
import 'package:push_fire_notifications/push_notification/local_notification_api.dart';
import 'package:push_fire_notifications/push_notification/push_notification.dart';
import 'package:push_fire_notifications/pushnotification.dart';