error static method
Signals a rejected action (wrong item/location, validation failure).
Implementation
static Future<void> error() async {
if (!enabled) return;
await HapticFeedback.heavyImpact();
await Future<void>.delayed(const Duration(milliseconds: 90));
await HapticFeedback.heavyImpact();
if (soundEnabled) await SystemSound.play(SystemSoundType.alert);
}