music 1.0.2 copy "music: ^1.0.2" to clipboard
music: ^1.0.2 copied to clipboard

PlatformAndroidiOS
outdated

The easy way to play music in Flutter. Compatible with media notification Android 11 (R).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add music

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

dependencies:
  music: ^1.0.2

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:music/music.dart';
7
likes
160
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

The easy way to play music in Flutter. Compatible with media notification Android 11 (R).

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

crypto, flutter, flutter_cache_manager, meta, path, path_provider

More

Packages that depend on music