LongPressDetector constructor

const LongPressDetector({
  1. Key? key,
  2. required Widget child,
  3. required Duration longPressDuration,
  4. required VoidCallback? onLongPress,
})

Implementation

const LongPressDetector({
  super.key,
  required this.child,
  required this.longPressDuration,
  required this.onLongPress,
});