usb_debug_blocker 0.0.2 copy "usb_debug_blocker: ^0.0.2" to clipboard
usb_debug_blocker: ^0.0.2 copied to clipboard

PlatformAndroid

A Flutter plugin to detect Developer Options, USB connection, and MTP mode on Android devices.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add usb_debug_blocker

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

dependencies:
  usb_debug_blocker: ^0.0.2

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:usb_debug_blocker/usb_debug_blocker.dart';
2
likes
140
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to detect Developer Options, USB connection, and MTP mode on Android devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on usb_debug_blocker

Packages that implement usb_debug_blocker