heavyImpact static method

Future<void> heavyImpact()

Trigger heavy impact haptic feedback

Implementation

static Future<void> heavyImpact() async {
  try {
    await SystemChannels.platform.invokeMethod('HapticFeedback.heavyImpact');
  } catch (e) {
    // Ignore errors on platforms that don't support haptic feedback
  }
}