updateTrim method

void updateTrim(
  1. double min,
  2. double max
)

Update minTrim and maxTrim.

Arguments range are 0.0 to 1.0.

Implementation

void updateTrim(double min, double max) {
  _minTrim = min;
  _maxTrim = max;
  _updateTrimRange();
  notifyListeners();
}