PopPop<S extends PopPopState, T extends Object> constructor
const
PopPop<S extends PopPopState, T extends Object> ({
- required PopPopBubbleTheme bubbleTheme,
- PopPopAudio? audioPlayer,
- PopPopTimer<
T> ? timer, - 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,
});