Item constructor

Item(
  1. int index, {
  2. Key? key,
})

Implementation

Item(this.index, {Key? key}) : super(key: key);