ledger_usb_plus 1.0.7 copy "ledger_usb_plus: ^1.0.7" to clipboard
ledger_usb_plus: ^1.0.7 copied to clipboard

PlatformAndroid
unlisted

A Flutter plugin to operate a Ledger Nano device over USB

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ledger_usb_plus

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

dependencies:
  ledger_usb_plus: ^1.0.7

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:ledger_usb_plus/ledger_usb.dart';
import 'package:ledger_usb_plus/ledger_usb_method_channel.dart';
import 'package:ledger_usb_plus/ledger_usb_platform_interface.dart';
import 'package:ledger_usb_plus/usb.web.dart';
import 'package:ledger_usb_plus/usb_device.dart';
import 'package:ledger_usb_plus/web_ledger_usb.dart';