@@ -69,7 +69,7 @@ class Draggable extends StatefulComponent {
class_DraggableStateextendsState<Draggable>{
DragRoute_route;
void_startDrag(ui.PointerEventevent){
void_startDrag(PointerInputEventevent){
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.
finalPointpoint=newPoint(event.x,event.y);
...
...
@@ -97,7 +97,7 @@ class _DraggableState extends State<Draggable> {
config.navigator.push(_route);
}
void_updateDrag(ui.PointerEventevent){
void_updateDrag(PointerInputEventevent){
if(_route!=null){
config.navigator.setState((){
_route.update(newPoint(event.x,event.y));
...
...
@@ -105,14 +105,14 @@ class _DraggableState extends State<Draggable> {