volumeListener property
The method listen the system volume. The volume value will be generated when the volume was changed.
Implementation
static Stream<double> get volumeListener {
return _eventChannel.receiveBroadcastStream().map((d) => d as double);
}