CounterSection constructor

const CounterSection({
  1. Key? key,
  2. required int counter,
  3. required VoidCallback onIncrement,
  4. required VoidCallback onDecrement,
})

Implementation

const CounterSection({
  super.key,
  required this.counter,
  required this.onIncrement,
  required this.onDecrement,
});