Flute Music Player

Flute Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.
Alternatives To Flute Music Player
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Plugins16,78682,2047 months ago16July 20, 20231bsd-3-clauseDart
Plugins for Flutter maintained by the Flutter team
Flutter Desktop Embedding7,08885 months ago22July 13, 20233apache-2.0C++
Experimental plugins for Flutter for Desktop
Go Flutter5,676223023 days ago76July 24, 202263bsd-3-clauseGo
Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
Flutter Ui Nice3,534
4 months ago8Dart
More than 130+ pages in this beautiful app and more than 45 developers has contributed to it.
13 days ago21gpl-3.0TypeScript
Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.
Flutter_inappwebview2,70011282 days ago100June 12, 2023821apache-2.0Dart
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
Sqflite2,6957992045 days ago160July 26, 2023168bsd-2-clauseDart
SQLite flutter plugin
Flutter_local_notifications2,26210810111 days ago251August 24, 202340bsd-3-clauseDart
A Flutter plugin for displaying local notifications on Android, iOS, macOS and Linux
Flutter Study2,254
3 years ago5
Flutter Study
Flutter Intellij1,894
5 hours ago557bsd-3-clauseJava
Flutter Plugin for IntelliJ
Alternatives To Flute Music Player
Select To Compare

Alternative Project Comparisons

Flute Music Player Plugin Only

Updated to androidx First Open Source Flutter based material design music player with audio plugin to play local music files.(Online Radio will be added soon.)


  • [x] Android (iOS Coming Soon)

    • [x] Fetch local songs (Inbuilt Permission)
    • [x] Beautiful UI with multiple themes(Coming Soon)
    • [x] Animation
    • [x] Full Fledged Example
    • [x] play (local files)
    • [x] stop
    • [x] pause
    • [x] seek
    • [x] shuffle
    • [x] Album Art
    • [x] onComplete
    • [x] onDuration / onCurrentPosition
  • Supported formats

Show some ❤️ and star the repo to support the project

  • Please note this is a plugin only. Actual project's link is below

Music Player Development Project

Flutter Beautiful Music Player




To use this plugin :

      sdk: flutter
  • instantiate an Music Finder instance
MusicFinder audioPlayer = new MusicFinder();

Fetch Songs

var songs = MusicFinder.allSongs();

play, pause , stop, seek

play() async {
  final result = await audioPlayer.play(kUrl);
  if (result == 1) setState(() => playerState = PlayerState.playing);

// add a isLocal parameter to play a local file
playLocal() async {
  final result = await audioPlayer.play(kUrl);
  if (result == 1) setState(() => playerState = PlayerState.playing);

pause() async {
  final result = await audioPlayer.pause();
  if (result == 1) setState(() => playerState = PlayerState.paused);

stop() async {
  final result = await audioPlayer.stop();
  if (result == 1) setState(() => playerState = PlayerState.stopped);

// seek 5 seconds from the beginning

duration, position, complete, error (temporary api)

The Dart part of the plugin listen for platform calls :

audioPlayer.setDurationHandler((Duration d) => setState(() {
  duration = d;

audioPlayer.setPositionHandler((Duration  p) => setState(() {
  position = p;

audioPlayer.setCompletionHandler(() {
  setState(() {
    position = duration;

audioPlayer.setErrorHandler((msg) {
  print('audioPlayer error : $msg');
  setState(() {
    playerState = PlayerState.stopped;
    duration = new Duration(seconds: 0);
    position = new Duration(seconds: 0);

##Credit for audioplayer plugin Erick Ghaumez Detailed Example for AudioPlayer


Alert: iOS implementation

This project is not implemented for ios yet.So wait for it or if you can contribute then please do help.

Pull Requests

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. Match coding style (braces, spacing, etc.) This is best achieved using Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .
  2. If its a feature, bugfix, or anything please only change code to what you specify.
  3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  4. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
  5. Check for existing issues first, before filing an issue.
  6. Make sure you follow the set standard as all other projects in this repo do
  7. Have fun!

Created & Maintained By

Pawan Kumar (@imthepk) (Youtube) (Insta)

If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕️


Copyright 2018 Pawan Kumar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Getting Started

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

For help on editing plugin code, view the documentation.

Popular Plugin Projects
Popular Flutter Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Play Framework
Music Player
Audio Player