audio_fetcher 0.0.3
audio_fetcher: ^0.0.3 copied to clipboard
A Flutter plugin for querying audio files (songs, music, recordings) from device storage on Android and iOS. Easily retrieve metadata such as title, artist, album, duration, and more.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add audio_fetcherWith Flutter:
$ flutter pub add audio_fetcherThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
audio_fetcher: ^0.0.3Alternatively, 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:audio_fetcher/audio_item_model.dart';
import 'package:audio_fetcher/audio_query.dart';
import 'package:audio_fetcher/audio_query_method_channel.dart';
import 'package:audio_fetcher/audio_query_platform_interface.dart';