onLongPress method

GestureDetector onLongPress(
  1. GestureLongPressCallback onLongPress, {
  2. Key? key,
})

Implementation

GestureDetector onLongPress(GestureLongPressCallback onLongPress,
        {Key? key}) =>
    gestureDetector(onLongPress: onLongPress, key: key);