CounterButton constructor
const
CounterButton({})
Constructor for the counter button
Implementation
const CounterButton(
{Key? key,
required this.count,
required this.onChange,
required this.loading,
this.countColor = Colors.black,
this.addIcon = const Icon(Icons.add),
this.removeIcon = const Icon(Icons.remove),
this.buttonColor = Colors.black,
this.progressColor = Colors.black})
: super(key: key);