QuantityButton constructor

const QuantityButton({
  1. Key? key,
  2. double? width = 100,
  3. double? height = 40,
  4. EdgeInsets? margin,
  5. EdgeInsets? padding,
  6. double borderRadius = 0,
  7. int counter = -1,
  8. int initial = 1,
  9. int maxCount = 1000,
  10. int minCount = 1,
  11. dynamic onChange(
    1. int value
    )?,
})

Implementation

const QuantityButton({
  super.key,
  this.width = 100,
  this.height = 40,
  this.margin,
  this.padding,
  this.borderRadius = 0,
  this.counter = -1,
  this.initial = 1,
  this.maxCount = 1000,
  this.minCount = 1,
  this.onChange,
});