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.
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.
Add this to your package's pubspec.yaml file:
dependencies: music_player: ^0.0.2
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.2||Dec 5, 2018|
|0.0.1||Dec 5, 2018|
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]
We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
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.
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:
example.dart or you could also use
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.
|Dart SDK||>=2.0.0-dev.68.0 <3.0.0|