Skip to content

hui-z/audio_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_audio_player

Plugin that allow flutter to play a local short sound(30 seconds or less in duration).

Install

add flutter_audio_player as a dependency in pubspec.yaml

How to use

  1. add audio file
  2. add asset in pubspec.yaml
  3. you can add audio to player list AudioPlayer.addSound(soundPath);
  4. you can remove all audio in player list AudioPlayer.removeAllSound();

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.