constants library Null safety

Constants

conversion → const Map<String, int>
{"a8" : 0, "b8" : 1, "c8" : 2, "d8" : 3, "e8" : 4, "f8" : 5, "g8" : 6, "h8" : 7, "a7" : 8, "b7" : 9,…
moveSoundPath → const String
'packages/chessboard_js/assets/chess_move.mp3'
squareList → const List<List<String>>
[["a8", "b8", "c8", "d8", "e8", "f8", "g8", "h8"], ["a7", "b7", "c7", "d7", &quo…

Enums

BoardType
Enum which stores board types
PlayerMode
use by controller to allow playing, null means a user can play both colors true for enable play just if user is white and is white turn false for enable play just if user is black and is black turn