gesture_detector_custom_long_tap_duration 0.0.1 icon indicating copy to clipboard operation
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
80
pub points
0%
popularity

Publisher

unverified uploader

A GestureDetector with custom duration for long tap

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on gesture_detector_custom_long_tap_duration