onChangedSlider method

dynamic onChangedSlider(
  1. double v
)

Implementation

onChangedSlider(double v) {
  _sliderPosition.value = Duration(seconds: v.floor());
}