ScreenDetector constructor

const ScreenDetector({
  1. Key? key,
  2. required Widget child,
  3. dynamic onLongPressAndMove(
    1. PointerMoveEvent
    )?,
  4. Duration duration = const Duration(milliseconds: 500),
  5. Function? destroy,
  6. Function? onLongPress,
})

Implementation

const ScreenDetector({
  Key? key,
  // super.key,
  required this.child,
  this.onLongPressAndMove,
  this.duration = const Duration(milliseconds: 500),
  this.destroy,
  this.onLongPress,
}) : super(key: key);