Square constructor

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

Implementation

const Square({super.key, required this.index});