ChessBoard constructor

const ChessBoard({
  1. Key? key,
  2. required String fen,
  3. required void onSquareClicked(
    1. int file,
    2. int rank
    ),
})

Implementation

const ChessBoard({
  super.key,
  required this.fen,
  required this.onSquareClicked,
});