Use this function to determine if the view is moved or not.
bool isMoved(double treshold) { return deltaNotifier.value.dx.abs() > treshold || deltaNotifier.value.dy.abs() > treshold; }