flutter_usb 0.0.3 copy "flutter_usb: ^0.0.3" to clipboard
flutter_usb: ^0.0.3 copied to clipboard

A new Flutter plugin to get information of connected usb devices in json format (MacOS & Linux)

flutter_usb #

A new Flutter plugin to get information of connected usb devices in json format (MacOS & Linux)

How to get usb information #

var json = await FlutterUsb.getUsbJson();
debugPrint('Usb json: ${json.toString()}');

MacOS #

For MacOS & Linux it runs system_profiler SPUSBDataType command in shell #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

2
likes
150
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter plugin to get information of connected usb devices in json format (MacOS & Linux)

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface, process_run

More

Packages that depend on flutter_usb