volume_watcher
2.0.1, released 5 years ago by an unverified publisher
Monitor and control system volume values in real-time on iOS and Android.
What it does
Allows Flutter apps to get the current system volume, max volume, and platform version, set the system volume, and listen to real-time volume changes.
AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to track system volume changes in real-time.
- Your media or custom audio app needs to programmatically set the device volume.
Skip it when
- You are building for desktop or web platforms, as this plugin only supports iOS and Android.
Strengths
- Provides both a listener widget and static methods for volume control.
- Supports null-safety and Flutter 2.0+.
- Unifies the volume range for Android and iOS between 0.0 and 1.0.
Weaknesses
- Limited platform support (only iOS and Android).
- Some features like hiding the volume view are strictly iOS-only.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
No extra native setup steps or permissions are documented.
VolumeWatcher(
onVolumeChangeListener: (double volume) {
///do sth.
},
)Alternatives
Packages that do the same job and could replace volume_watcher.
- volume_controller
Control and observe system volume on Android, iOS, macOS, Windows, and Linux.
79Compare - flutter_recorder
Low-level cross-platform audio recorder plugin using miniaudio with real-time waveform, FFT and volume.
87Compare - flutter_volume_controller
Control system volume and listen for volume changes across multiple platforms.
71Compare - flutter_voice_processor
An asynchronous audio capture library for real-time speech audio processing.
50Compare