handleRotateEnd method
Handles the rotate end event.
This method calls the onRotateEnd callback with the provided value
and then calls handleUpdateUI.
Implementation
void handleRotateEnd(double value) {
onRotateEnd?.call(value);
handleUpdateUI();
}