TetrisAnimationController constructor

const TetrisAnimationController({
  1. void onPieceLock()?,
  2. void onLineClear(
    1. int lines
    )?,
  3. void onGameOver()?,
  4. void onLevelUp(
    1. int lines
    )?,
  5. void onHardDrop()?,
})

Implementation

const TetrisAnimationController({
  this.onPieceLock,
  this.onLineClear,
  this.onGameOver,
  this.onLevelUp,
  this.onHardDrop,
});