Any idea how to modify (if is possible) a ProgressView with drag gestures. To begin with, I think the code will be something like this:
ProgressView(value: progress)
.gesture(DragGesture()
.onChanged({
// code here
})
But I'm really lost. Any help?
The .onChanged modifier has a parameter in the closure. You can do something like: