DraggableDetails constructor
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
}) : assert(velocity != null),
assert(offset != null);