Extends upon pop_pop to provide out of the box components to implement a bubble popping game in Flutter.
- Add to your
dependencies: pop_pop_components: <version>
- See the example app for how these are used together.
Controls the logic of the game, scoring, calculating the game size and subscribing to an optional
PopPopTimer implementation. Also takes an optional
PopPopAudio to implement sound effects.
Builds a bubble grid which can either be staggered or straight. Provides widget callbacks to allow decoupling bubble widget implementations from the game grid.
A stream-based countdown timer which emits a tick every second. Also contains an extension to transform seconds left into a digital clock timestamp (eg.
A provider based bubble wrapper that encapsulates each bubbles' state, and updates the widget to display the given popped bubble widget upon popping.
CustomPainter based bubble UI widgets. Builds their colors based upon the given