ChessBoard constructor
const
ChessBoard({
- Key? key,
- required ChessBoardController controller,
- double? size,
- bool enableUserMoves = true,
- BoardColor boardColor = BoardColor.brown,
- PlayerColor boardOrientation = PlayerColor.white,
- VoidCallback? onMove,
- List<
BoardArrow> arrows = const [],
Implementation
const ChessBoard({
Key? key,
required this.controller,
this.size,
this.enableUserMoves = true,
this.boardColor = BoardColor.brown,
this.boardOrientation = PlayerColor.white,
this.onMove,
this.arrows = const [],
}) : super(key: key);