DraggableDetails constructor

DraggableDetails({
  1. bool wasAccepted = false,
  2. required Velocity velocity,
  3. required Offset offset,
})

Creates details for a DraggableDetails.

If wasAccepted is not specified, it will default to false.

The velocity or offset arguments must not be null.

Implementation

DraggableDetails({this.wasAccepted = false, required this.velocity, required this.offset});