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

耳机状态监听,包括有线耳机和蓝牙耳机。获取当前耳机状态,监听耳机并实时获取状态。

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add headset_detection_status

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

dependencies:
  headset_detection_status: ^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:headset_detection_status/headset_detection_status.dart';
0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

耳机状态监听,包括有线耳机和蓝牙耳机。获取当前耳机状态,监听耳机并实时获取状态。

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on headset_detection_status