CounterSection constructor

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

Creates a CounterSection.

Implementation

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