FLUTTER ECOSYSTEM

audioplayers

A Flutter plugin to play multiple audio files simultaneously

audioplayers cover
Latest version
6.8.1
30-day downloads
1.3M
Likes
3.4K
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter plugin enabling the playback of multiple audio files simultaneously across Android, iOS, Web, macOS, Windows, and Linux. It provides a simple and consistent API for managing audio streams, supporting various formats and offering features like volume control, looping, and background playback. Ideal for apps requiring rich audio experiences such as music players, audiobooks, or interactive games.

Use cases
  • Playing background music in mobile apps
  • Supporting audiobook narration with multiple tracks
  • Enabling real-time audio feedback in games
  • Managing sound effects in interactive UIs
  • Streaming audio from remote URLs
  • Synchronizing audio with animations
Key features
  • Simultaneous multi-audio playback
  • Cross-platform compatibility
  • Volume and playback rate control
  • Support for streaming and local files
  • Background audio support
  • Event-driven audio lifecycle management
Suitable for
  • Audio-intensive applications
  • Mobile and desktop music players
  • Interactive educational apps
  • Games with layered sound design
  • Apps requiring precise audio timing
Considerations
  • Higher memory usage with many concurrent streams
  • Potential platform-specific audio limitations
  • Requires proper permission handling on Android and iOS
  • May need optimization for low-end devices
  • Limited advanced audio processing features
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add audioplayers

Categories

Dependencies

Dependency list 12 items
  • audioplayers_android^5.3.0
  • audioplayers_darwin^6.5.0
  • audioplayers_linux^4.3.0
  • audioplayers_platform_interface^7.2.0
  • audioplayers_web^5.3.0
  • audioplayers_windows^4.4.1
  • file>=6.1.0 <8.0.0
  • http>=0.13.1 <2.0.0
  • meta^1.7.0
  • path_provider^2.0.12
  • synchronized^3.0.0
  • uuid>=3.0.7 <5.0.0

Source repository

Related projects