ListItem constructor

const ListItem({
  1. Key? key,
  2. required int index,
})

Implementation

const ListItem({Key? key, required this.index}) : super(key: key);