onChanging method

void onChanging(
  1. double d
)

Implementation

void onChanging(double d) {
  _currentDuration = Duration(milliseconds: d.toInt());
  final value = (noiseWidth * d) / maxMillSeconds;
  animController.value = value;
  _updateUi();
}