Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

google/web_notifications.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Note: this package is not longer being actively maintained


web_notifications

Build Status

A package that implements the Notification API. Somewhat of an experiment in making new/experimental APIs available as packages, rather than having everything in dart:html.

Usage

A simple usage example:

import 'dart:html' hide Notification;
import 'package:notification/notification.dart';

main() async {
  if (!Notification.supported) return;
  await Notification.requestPermission();
  new Notification("Hello world", body: "Have a nice day!");
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published