buildProxy method
Implementation
Widget buildProxy(BuildContext context) {
var pos = dragPosition - dragOffset - _overlayOrigin(context);
return capturedThemes.wrap(
Positioned(
left: pos.dx,
top: pos.dy,
child: SizedBox(
width: size.width,
height: size.height,
child: IgnorePointer(
child: child,
),
),
),
);
}