MyDragTargetBuilder<T> typedef
MyDragTargetBuilder<T> =
Widget Function(BuildContext context, List<T> candidateData, List rejectedData)
Signature for building children of a MyDragTarget.
The candidateData
argument contains the list of drag data that is hovering
over this MyDragTarget and that has passed MyDragTarget.onWillAccept. The
rejectedData
argument contains the list of drag data that is hovering over
this MyDragTarget and that will not be accepted by the MyDragTarget.
Used by MyDragTarget.builder.
Implementation
typedef Widget MyDragTargetBuilder<T>(
BuildContext context, List<T> candidateData, List<dynamic> rejectedData);