ShogiBoardStyle constructor

const ShogiBoardStyle({
  1. double maxSize = double.infinity,
  2. Color pieceColor = BoardColors.black,
  3. Color promotedPieceColor = BoardColors.red,
  4. Color cellColor = Colors.transparent,
  5. Color borderColor = BoardColors.gray,
  6. bool usesJapanese = true,
  7. bool showCoordIndicators = true,
  8. 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,
});