chessboard/utils library

Functions

getImageToDisplay({required double size, required ChessboardController controller, required dynamic squareName}) Widget
Get image to display on square
isAdjacentFile(String columnName, String isAdjacent) bool
function to check if character is adjacent to another character
promotionDialog(BuildContext context, ChessboardController controller) Future<String?>
Show dialog when pawn reaches last square