OnGesture.longPress constructor

const OnGesture.longPress({
  1. required Widget child,
  2. required void action(),
  3. Key? key,
})

Implementation

const OnGesture.longPress({
  required this.child,
  required this.action,
  super.key,
}) : type = GestureType.longPress;