Counter constructor

const Counter({
  1. Key? key,
  2. void onIncreaseTap()?,
  3. void onDncreaseTap()?,
  4. int? min,
  5. int? max,
  6. required int count,
  7. Color borderColor = ColorTheme.border,
  8. Color disableButtonColor = ColorTheme.disable,
})

Implementation

const Counter({
  super.key,
  this.onIncreaseTap,
  this.onDncreaseTap,
  this.min,
  this.max,
  required this.count,
  this.borderColor = ColorTheme.border,
  this.disableButtonColor = ColorTheme.disable,
});