utils/utils library
Properties
- goBackKeySet → LogicalKeySet
-
final
- goForwardKeySet → LogicalKeySet
-
final
Functions
-
getImageToDisplay(
{required double size, required Piece? squareState}) → Widget - Get image to display on square
-
getResultFromEnum(
ChessResult result) → String -
promotionDialog(
BuildContext context, Color turn) → Future< String?> - Show dialog when pawn reaches last square