vibratePattern method
Vibrate with a custom pattern (Android only).
pattern: A list of durations (in milliseconds) for which to turn the vibrator on or off.
amplitudes: (Optional) A list of amplitude values (1-255) corresponding to each duration in pattern.
repeat: (Optional) Whether to repeat the vibration pattern. Default is false.
Implementation
Future<void> vibratePattern({
required List<int> pattern,
List<int>? amplitudes,
bool repeat = false,
}) {
throw UnimplementedError('vibratePattern() has not been implemented.');
}