FLCountStepperController constructor

FLCountStepperController({
  1. int? defaultValue,
  2. int min = 0,
  3. int max = 999,
  4. int step = 1,
})

Implementation

FLCountStepperController({
  this.defaultValue,
  this.min = 0,
  this.max = 999,
  this.step = 1,
})  : assert(min < max),
      super(defaultValue ?? (min > 0 ? min : 0));