vibe_tap 0.0.2
vibe_tap: ^0.0.2 copied to clipboard
A Flutter widget that adds vibration (haptic feedback) and debounce protection to taps. Prevents multiple quick taps while providing smooth haptic interaction.
debounced_button #
A Flutter widget that prevents double taps and adds optional vibration (haptic feedback).
Useful for buttons or clickable widgets that should only respond once per press.
🚀 Features #
- ✅ Debounce logic (prevents rapid multi-taps)
- ✅ Optional vibration feedback
- ✅ Supports
onTap,onLongPress,onLongPressUp - ✅ Simple API, lightweight, no dependencies
💻 Usage #
import 'package:debounced_button/debounced_button.dart';
DebouncedButton(
enableVibration: true,
debounceDuration: Duration(milliseconds: 800),
onTap: () => print("Tapped safely!"),
child: Container(
padding: EdgeInsets.all(12),
color: Colors.blue,
child: Text("Tap Me", style: TextStyle(color: Colors.white)),
),
)