fcm_sending 0.0.4 copy "fcm_sending: ^0.0.4" to clipboard
fcm_sending: ^0.0.4 copied to clipboard

Fcm Sending is a simple Flutter package that helps developers send customized notifications with ease. It automatically converts the notification message body into a Dart model, making it user-friendl [...]

Fcm Sending for Flutter #

Fcm Sending is a Flutter package that simplifies the process of sending notifications in your Flutter app. This package helps you send customized notifications easily, and it converts the notification message body into a Dart model, ensuring clarity and eliminating confusion when dealing with notification data.

Features #

  • Send notifications with custom sound, vibration, and priority settings.
  • Convert complex notification payloads into Dart models automatically.
  • Reduce confusion by clearly defining notification data.
  • Easy integration with Firebase and other notification services.

Installation #

Add the following line to your pubspec.yaml file:

dependencies:
  fcm_sending: latest_version

Then run flutter pub get to install the package.

Usage #

Here’s an example of how to send a notification using this package:

import 'package:fcm_sending/fcm_message.dart';


void sendCustomNotification() {
  
  // init it in main.dart
  FcmSending.init();
  
  //then use it where ever u want 
  FcmSending.sendMessage();
}

The message body is converted into a Dart model for ease of use, making it straightforward for developers to manage notification data without worrying about parsing complex payloads.

Contributing #

Contributions are welcome! If you have any suggestions or find any issues, feel free to open an issue or submit a pull request.

Author #

Developed and maintained by Elbek.

License #

This package is licensed under the MIT License.

11
likes
115
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

Fcm Sending is a simple Flutter package that helps developers send customized notifications with ease. It automatically converts the notification message body into a Dart model, making it user-friendly and reducing confusion when handling notification data. Perfect for apps that need to integrate push notifications without the hassle of complex payload management.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, googleapis_auth, shared_preferences

More

Packages that depend on fcm_sending