SliderStepDuration constructor

const SliderStepDuration({
  1. int years = 0,
  2. int months = 0,
  3. int days = 0,
  4. int hours = 0,
  5. int minutes = 0,
  6. int seconds = 0,
})

The discrete position is calculated by adding the arguments given in the SliderStepDuration object. By default, all arguments values are zero.

Implementation

const SliderStepDuration(
    {this.years = 0,
    this.months = 0,
    this.days = 0,
    this.hours = 0,
    this.minutes = 0,
    this.seconds = 0});