flutter_web_notification_platform 1.0.3 copy "flutter_web_notification_platform: ^1.0.3" to clipboard
flutter_web_notification_platform: ^1.0.3 copied to clipboard

A Flutter plugin for web notifications using conditional imports.

flutter_web_notification_platform

## Overview

flutter_web_notification_platform is a Flutter plugin designed to provide cross-platform support for web notifications. This plugin utilizes conditional imports to ensure that only the relevant code is executed depending on the platform (web or non-web).

Key Features #

  • Cross-Platform Support: Handles notifications for both web and non-web platforms, providing a seamless experience across different environments.
  • Conditional Imports: Utilizes Dart's conditional imports to load platform-specific implementations dynamically.
  • Customizable Notifications: Allows sending and requesting permissions for notifications with customizable titles and messages.
  • Fallback Implementation: Provides a default stub implementation for non-web platforms to handle cases where web notifications are not supported.

SUPORTED PLATFORM #

ANDROID 🔴 IOS 🔴 MAC 🔴 WINDOWS 🔴 WEB 🟢

Purpose #

The primary goal of this library is to offer a unified interface for handling notifications across different platforms while adhering to platform-specific requirements. By abstracting away the complexities of platform differences, it simplifies the process of adding notification functionality to your Flutter applications.

Getting Started #

To get started with flutter_web_notification_platform, follow these steps:

  1. Add Dependency: Add flutter_web_notification_platform to your pubspec.yaml file:

    dependencies:
      flutter:
        sdk: flutter
      flutter_web_notification_platform: ^latest
    
3
likes
80
points
446
downloads

Publisher

verified publisherkitahealth.my.id

Weekly Downloads

A Flutter plugin for web notifications using conditional imports.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logger

More

Packages that depend on flutter_web_notification_platform