/ Audio

A Flutter plugin for playing music on iOS and Android

A Flutter plugin for playing music on iOS and Android

Stereo plugin for Flutter

A Flutter plugin for playing music on iOS and Android.

Features

  • Play/pause
  • Stop
  • Duration / seek to position
  • Load track from path
  • Load track from library

Installation

First, add stereo as a dependency in your pubspec.yaml file.

Android

Add the following permission to your AndroidManifest.xml file:

  • <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

iOS

Add the following key to your Info.plist file:

  • NSAppleMusicUsageDescription

GitHub