push_fire_notifications 0.0.14 push_fire_notifications: ^0.0.14 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 Flutter:
$ flutter pub add push_fire_notifications
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
push_fire_notifications: ^0.0.14
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: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';