PopPop<S extends PopPopState, T extends Object> constructor

const PopPop<S extends PopPopState, T extends Object>({
  1. required PopPopBubbleTheme bubbleTheme,
  2. PopPopAudio? audioPlayer,
  3. PopPopTimer<T>? timer,
  4. bool loggingEnabled = false,
})

Creates an implementation of a PopPop.

Provides the basic building blocks the game depends on, allowing implementation with any state management solution.

Implementation

const PopPop({
  required this.bubbleTheme,
  this.audioPlayer,
  this.timer,
  this.loggingEnabled = false,
});