local_push_notifications 0.0.2
local_push_notifications: ^0.0.2 copied to clipboard
A complete solution to create Local and Push Notifications (Firebase Messaging), customizing buttons, images, sounds, emoticons and applying many different layouts for Flutter apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add local_push_notifications
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
local_push_notifications: ^0.0.2
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:local_push_notifications/android_foreground_service.dart';
import 'package:local_push_notifications/i_local_notifications.dart';
import 'package:local_push_notifications/local_notifications.dart';
import 'package:local_push_notifications/local_notifications_empty.dart';
import 'package:local_push_notifications/local_notifications_method_channel.dart';
import 'package:local_push_notifications/local_notifications_platform_interface.dart';