currentVolumeStream property

Stream<double> currentVolumeStream

This method allows you to have a stream of the system audio volume level when change

Implementation

static Stream<double> get currentVolumeStream {
  return _currentVolumeEvent
      .receiveBroadcastStream()
      .distinct()
      .map((dynamic event) => double.parse(event.toString()));
}