one_broadcast 0.0.1 copy "one_broadcast: ^0.0.1" to clipboard
one_broadcast: ^0.0.1 copied to clipboard

A Flutter package to capture web navigator events such as network connectivity changes and battery status using universal_html.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add one_broadcast

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  one_broadcast: ^0.0.1

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:one_broadcast/one_broadcast.dart';
0
likes
140
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to capture web navigator events such as network connectivity changes and battery status using universal_html.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, universal_html

More

Packages that depend on one_broadcast