FlutterArbiter constructor

FlutterArbiter({
  1. void onGameOver(
    1. GameOverBy
    )?,
  2. Future<bool> onReachingPromotionRank(
    1. Position position
    )?,
  3. bool showDialogs = true,
  4. BuildContext? context,
  5. dynamic onPromoted(
    1. Position position,
    2. ChessPiece? promotedTo
    )?,
})

Implementation

FlutterArbiter({
  super.onGameOver,
  this.onReachingPromotionRank,
  this.showDialogs = true,
  this.context,
  this.onPromoted,
});