ChessBoardWidget constructor
const
ChessBoardWidget({
- Key? key,
- required ChessBoardInterface game,
- required FlutterArbiter arbiter,
- PieceColor? playAs,
- dynamic onMove()?,
- bool rotateBoard = false,
- bool spectateInitially = true,
- required double boardSize,
- required BoardThemeConfig config,
Implementation
const ChessBoardWidget({
super.key,
required this.game,
required this.arbiter,
this.playAs,
this.onMove,
this.rotateBoard = false,
this.spectateInitially = true,
required this.boardSize,
required this.config,
});