handleFilterFactorChange method

void handleFilterFactorChange(
  1. double newFactor
)

Handles the filter factor change event.

This method calls the onFilterFactorChange callback with the provided newFactor and then calls handleUpdateUI.

Implementation

void handleFilterFactorChange(double newFactor) {
  onFilterFactorChange?.call(newFactor);
  handleUpdateUI();
}