ChessSquare constructor

const ChessSquare({
  1. Key? key,
  2. required Color color,
  3. required String square,
  4. required PlayerColor boardOrientation,
  5. required double squareSize,
})

Implementation

const ChessSquare({
  super.key,
  required this.color,
  required this.square,
  required this.boardOrientation,
  required this.squareSize,
});