Skip to content
pubscout

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.

$ flutter pub add volume_watcher
Source repository

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.