music_player 0.0.2

  • Installing
  • Versions
  • new43


A music player flutter plugin that uses the native api to show the currently playing track with cover image and controls.

This plugin is still in development. The Android implementation is not finished yet.

Warning: This plugin is written in Swift and Kotlin, so make sure your project is setup to compile these languages.

The required iOS version for this plugin is 10.* because some features to control the audio playback have only been introduced there.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.


  • Added more information to the project.


  • The initial release with a working version of the iOS player

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  music_player: ^0.0.2

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:music_player/music_player.dart';
Version Uploaded Documentation Archive
0.0.2 Dec 5, 2018 Go to the documentation of music_player 0.0.2 Download music_player 0.0.2 archive
0.0.1 Dec 5, 2018 Go to the documentation of music_player 0.0.1 Download music_player 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs (-9.43 points)

33 out of 35 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use music_player.dart.

Package is pre-v0.1 release. (-10 points)

While there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
crypto ^2.0.0 2.0.6
flutter 0.0.0
flutter_cache_manager ^0.2.0 0.2.0+1 0.3.0-alpha.2
meta ^1.1.0 1.1.6
path ^1.6.0 1.6.2
path_provider ^0.4.1 0.4.1
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
convert 2.0.2
http 0.12.0
http_parser 3.1.3
shared_preferences 0.4.3
sky_engine 0.0.99
source_span 1.4.1
string_scanner 1.0.4
synchronized 1.5.3
typed_data 1.1.6
uuid 1.0.3
vector_math 2.0.8