MultiDragPointerState constructor Null safety
- Offset initialPosition,
- PointerDeviceKind kind,
- DeviceGestureSettings? gestureSettings
Creates per-pointer state for a MultiDragGestureRecognizer.
The initialPosition argument must not be null.
Implementation
MultiDragPointerState(this.initialPosition, this.kind, this.gestureSettings)
: assert(initialPosition != null),
_velocityTracker = VelocityTracker.withKind(kind);