FLUTTER ECOSYSTEM

assets_audio_player

Play music/audio stored in assets files directly from Flutter & Network, Radio, LiveStream, Local files. Compatible with Android, iOS, web and macOS.

assets_audio_player cover
Latest version
3.1.1
30-day downloads
2.1K
Likes
1.2K
Pub points
110

Package Overview

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

Overview

AssetsAudioPlayer is a Flutter package that enables seamless playback of audio from assets, local files, network URLs, radio streams, and live audio. It supports multiple platforms including Android, iOS, Web, and macOS, making it ideal for cross-platform audio applications. The package offers a simple API for managing playback, controlling volume, seeking, and handling events like completion or buffering. It integrates directly with Flutter’s asset system and provides robust features for both basic and advanced audio use cases.

Use cases
  • Playing background music in apps
  • Streaming live radio stations
  • Loading audio from app assets
  • Supporting offline audio playback
  • Integrating podcast players
Key features
  • Supports assets, network, and live streams
  • Cross-platform compatibility
  • Built-in event handling
  • Volume and playback control
  • Easy integration with Flutter assets
Suitable for
  • Mobile and web audio apps
  • Podcast and music player apps
  • Educational apps with audio content
  • Apps requiring offline audio access
  • Developers building multimedia experiences
Considerations
  • Requires proper asset configuration
  • May need additional permissions on some platforms
  • Large audio files may impact memory usage
  • Network streaming requires stable internet connection
  • Web support limited to modern browsers
Supported platformsAndroidiOSWebmacOS

Install package

flutter pub add assets_audio_player

Categories

Source repository

Related projects