volDown static method

Future<void> volDown({
  1. AudioManger? streamType,
  2. bool? showVolumeUiFlag,
})

Press Volume Down button programatically .

Implemetation :-

await SystemShortcuts.volDown ( );

Implementation

static Future<void> volDown(
    {AudioManger? streamType, bool? showVolumeUiFlag}) async {
  await _channel.invokeMethod(
    'volDown',
    {
      'streamType': _getStreamInt(streamType),
      'showVolumeUiFlag': showVolumeUiFlag ?? false ? 1 : 0,
    },
  );
}