successBuzz static method

Future<void> successBuzz({
  1. List<int> timings = const [0, 50, 100, 50],
  2. List<int> amplitudes = const [255, 0, 255, 0],
})

Plays a double-tap success haptic pattern.

Implementation

static Future<void> successBuzz({
  List<int> timings = const [0, 50, 100, 50],
  List<int> amplitudes = const [255, 0, 255, 0],
}) async {
  await playWaveform(timings, amplitudes);
}