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

outdated

A Flutter project for CH340 on Android and Windows.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_usb_serial

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

dependencies:
  flutter_usb_serial: ^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:flutter_usb_serial/usb_serial/BaseUsbSerial.dart';
import 'package:flutter_usb_serial/usb_serial/UsbPortConstant.dart';
import 'package:flutter_usb_serial/usb_serial/UsbSerial.dart';
import 'package:flutter_usb_serial/usb_serial/UsbSerialAndroid.dart';
import 'package:flutter_usb_serial/usb_serial/UsbSerialFactory.dart';
import 'package:flutter_usb_serial/usb_serial/UsbSerialWindows.dart';
9
likes
130
points
70
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter project for CH340 on Android and Windows.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, serial_port_win32, usb_serial

More

Packages that depend on flutter_usb_serial