gesture_detector_custom_long_tap_duration 0.0.1 copy "gesture_detector_custom_long_tap_duration: ^0.0.1" to clipboard
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
      
    },
    
  ),    
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A GestureDetector with custom duration for long tap

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on gesture_detector_custom_long_tap_duration