VxStepper constructor

const VxStepper({
  1. Key? key,
  2. num defaultValue = 0,
  3. int min = 0,
  4. int max = 999,
  5. int step = 1,
  6. bool disableInput = false,
  7. ValueChanged<int>? onChange,
  8. Color? inputBoxColor,
  9. Color? inputTextColor,
  10. Color? actionButtonColor,
  11. Color? actionIconColor,
})

Implementation

const VxStepper({
  super.key,
  this.defaultValue = 0,
  this.min = 0,
  this.max = 999,
  this.step = 1,
  this.disableInput = false,
  this.onChange,
  this.inputBoxColor,
  this.inputTextColor,
  this.actionButtonColor,
  this.actionIconColor,
})  : assert(max >= min),
      assert(step >= 1);