ShogiBoardStyle constructor
const
ShogiBoardStyle({
- double maxSize = double.infinity,
- Color pieceColor = BoardColors.black,
- Color promotedPieceColor = BoardColors.red,
- Color cellColor = Colors.transparent,
- Color borderColor = BoardColors.gray,
- bool usesJapanese = true,
- bool showCoordIndicators = true,
- CoordIndicatorType coordIndicatorType = CoordIndicatorType.japanese,
Implementation
const ShogiBoardStyle({
this.maxSize = double.infinity,
this.pieceColor = BoardColors.black,
this.promotedPieceColor = BoardColors.red,
this.cellColor = Colors.transparent,
this.borderColor = BoardColors.gray,
this.usesJapanese = true,
this.showCoordIndicators = true,
this.coordIndicatorType = CoordIndicatorType.japanese,
});