This is the statefulWidget where I have included the GestureDetector and onPanUpdate callback. This means if the pointer is in contact with the screen
GestureDetector
onPanUpdate