Item constructor

const Item({
  1. Key? key,
  2. required int itemIndex,
  3. Color color = Colors.pink,
  4. required int listIndex,
})

Implementation

const Item({
  super.key,
  required this.itemIndex,
  this.color = Colors.pink,
  required this.listIndex,
});