TDStepper constructor

const TDStepper({
  1. Key? key,
  2. bool disableInput = false,
  3. bool disabled = false,
  4. double? inputWidth,
  5. int max = 100,
  6. int min = 0,
  7. TDStepperSize size = TDStepperSize.medium,
  8. int step = 1,
  9. TDStepperTheme theme = TDStepperTheme.normal,
  10. int? value = 0,
  11. int? defaultValue = 0,
  12. VoidCallback? onBlur,
  13. ValueChanged<int>? onChange,
  14. TDStepperOverlimitFunction? onOverlimit,
})

Implementation

const TDStepper({
  Key? key,
  this.disableInput = false,
  this.disabled = false,
  this.inputWidth,
  this.max = 100,
  this.min = 0,
  this.size = TDStepperSize.medium,
  this.step = 1,
  this.theme = TDStepperTheme.normal,
  this.value = 0,
  this.defaultValue = 0,
  this.onBlur,
  this.onChange,
  this.onOverlimit,
}) : super(key: key);