on_audio_query_forked 2.9.1 on_audio_query_forked: ^2.9.1 copied to clipboard
Flutter Plugin used to query audios/songs infos [title, artist, album, etc..] from device storage. This is not original plugin, this is a forked version.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add on_audio_query_forked
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
on_audio_query_forked: ^2.9.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:on_audio_query_forked/on_audio_query.dart';
import 'package:on_audio_query_forked/widget/query_artwork_widget.dart';