DraggableDetails constructor Null safety
Creates details for a DraggableDetails.
If wasAccepted is not specified, it will default to false
.
Implementation
DraggableDetails({
this.wasAccepted = false,
required this.velocity,
required this.offset,
}) : assert(velocity != null),
assert(offset != null);