adb_wifi 1.0.4
adb_wifi: ^1.0.4 copied to clipboard
A cli for attaching adb over wifi using a qr-code displayed in the terminal.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate adb_wifiUse it
The package has the following executables:
$ adb_wifi
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add adb_wifiWith Flutter:
$ flutter pub add adb_wifiThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
adb_wifi: ^1.0.4Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:adb_wifi/generate_qr_code.dart';
import 'package:adb_wifi/run.dart';