better_audio_picker_plugin

A new flutter plugin project.

Install Started

  1. Add this to your pubspec.yaml file:
dependencies:
  better_audio_picker_plugin: ^0.0.6
  1. Install it
$ flutter packages get

Normal usage

scanResultStreamSubscription = audioPickerPlugin.scanResultStream.listen((event) {
  print("音频搜索结果:$event");
  setState(() {
    audioList = event;
  });
});
audioPickerPlugin.scanAudio()
pickResultStreamSubscription = audioPickerPlugin.pickResultStream.listen((event) {
  print("音频保存路径:$event");
});
audioPickerPlugin.pickAudio(uri: audio.uri);

Feature

  • x pick audio (only Android)

Libraries

better_audio_picker_plugin
better_audio_picker_plugin_api