@@ -27,6 +56,12 @@ class Draggable extends StatefulComponent {
finalWidgetchild;
finalWidgetfeedback;
/// The feedbackOffset can be used to set the hit test target point for the
/// purposes of finding a drag target. It is especially useful if the feedback
/// is transformed compared to the child.
finalOffsetfeedbackOffset;
finalDragAnchordragAnchor;
DraggableStatecreateState()=>newDraggableState();
}
...
...
@@ -36,12 +71,23 @@ class DraggableState extends State<Draggable> {
void_startDrag(sky.PointerEventevent){
if(_route!=null)
return;// TODO(ianh): once we switch to using gestures, just hand the gesture to the route so it can do everything itself. then we can have multiple drags at the same time.