webserial 1.0.0+1 webserial: ^1.0.0+1 copied to clipboard
WebSerial support for Dart built on the web package.
WebSerial Dart package #
A Dart package for the Web Serial API, built on top of the web package. This package exists only because the web package only supports Web APIs that are standardised by the W3C or are on the W3C Standards Track, which for now the Web Serial API is not.
Using the package #
- Add
webserial: ^0.1.0
to your pubspec.yaml file. - Import
package:webserial/webserial.dart
in your Flutter app.
Note that this package builds on top of the web package, so some of the types come from the web package but you can still use them without importing package:web/web.dart
because they are re-exported by webserial package.
Usage #
See example Flutter app in /example
folder.