lightImpact static method

Future<void> lightImpact()

Trigger light impact haptic feedback

Implementation

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