DragStartDetails constructor

DragStartDetails({Duration sourceTimeStamp, Offset globalPosition: Offset.zero })

Creates details for a GestureDragStartCallback.

The globalPosition argument must not be null.

Implementation

DragStartDetails({ this.sourceTimeStamp, this.globalPosition = Offset.zero })
  : assert(globalPosition != null);