BoardPiece constructor

const BoardPiece({
  1. Key? key,
  2. required String squareName,
  3. required Chess game,
})

Implementation

const BoardPiece({
  Key? key,
  required this.squareName,
  required this.game,
}) : super(key: key);