DragTarget< T> constructor
Creates a widget that receives drags.
The builder
argument must not be null.
Implementation
const DragTarget({
Key key,
@required this.builder,
this.onWillAccept,
this.onAccept,
this.onLeave,
}) : super(key: key);