CounterItemsComponent constructor

const CounterItemsComponent({
  1. required IconData icon,
  2. required String title,
  3. required int targetValue,
  4. Key? key,
})

Creates a CounterItemsComponent.

Requires:

  • icon: The icon to display.
  • title: The text title below the icon.
  • targetValue: The integer target value to count up to.

Implementation

const CounterItemsComponent({
  required this.icon,
  required this.title,
  required this.targetValue,
  super.key,
});