Overview
The volume_controller package is a cross-platform Flutter plugin that enables developers to control system volume across Android, iOS, macOS, Windows, and Linux. It provides a simple API to adjust, mute, and query volume levels, making it ideal for media apps, audio tools, or any application requiring system-level audio control. The plugin abstracts platform-specific implementations, ensuring consistent behavior across devices. It supports both stream-based volume monitoring and direct volume manipulation. Built with ease of integration in mind, it works seamlessly within existing Flutter projects.
Use cases
- Media player volume control
- Audio app system integration
- Accessibility tools
- Automated testing of audio features
- System-wide volume adjustments
Key features
- Cross-platform support (Android, iOS, macOS, Windows, Linux)
- Volume level adjustment and muting
- Real-time volume monitoring via streams
- Simple, consistent API
- Platform abstraction for native volume controls
Suitable for
- Developers building audio-centric apps
- Apps needing system volume access
- Multi-platform audio utilities
- Testing audio behaviors across OSes
Considerations
- Requires appropriate platform permissions
- Behavior may vary slightly between OSes
- Limited to system volume (not app-specific)
- Not suitable for low-level audio processing
- May require user permission on some platforms