HI, I am using GestureDetector and in its function
onHorizontalDragUpdate: (_) {
var x = _.globalPosition.dx;
}
That data will be updated as I drag my finger horizontally on the screen.
question is:
How do I assign it to a Widget (Positioned) in its right property so that it moves next to the finger using .globalPosition.dx?
Any suggestion of conversion since the data in .globalPosition.dx is very high and Widget (Positioned) is lost in the screen if I send the data directly?