handleScaleUpdate method

void handleScaleUpdate(
  1. ScaleUpdateDetails details
)

Handles the update of a scaling gesture.

This method calls the onScaleUpdate callback with the provided details and then calls handleUpdateUI.

Implementation

void handleScaleUpdate(ScaleUpdateDetails details) {
  onScaleUpdate?.call(details);
  handleUpdateUI();
}