Gesture constructor

Gesture(
  1. GestureType type,
  2. PointerDeviceKind device,
  3. Offset localPosition,
  4. Size chartSize,
  5. dynamic details, {
  6. Key? chartKey,
  7. Offset? localMoveStart,
  8. ScaleUpdateDetails? preScaleDetail,
})

Creates a gesture.

Implementation

Gesture(
  this.type,
  this.device,
  this.localPosition,
  this.chartSize,
  this.details, {
  this.chartKey,
  this.localMoveStart,
  this.preScaleDetail,
});