gesture_detector_custom_long_tap_duration 0.0.1 gesture_detector_custom_long_tap_duration: ^0.0.1 copied to clipboard
A GestureDetector with custom duration for long tap
gesture_detector_custom_long_tap_duration #
A GestureDetector where you can set the Duration for LongPress callback
Example: #
CustomLongTap(
widget: Container(
child: Text('Press ME!'),
),
duration: Duration(seconds: 5),
onShortTap: () {
// do something on normal press
},
onLongTap: () {
// do something on long press
},
),