flutter_confetti_engine 1.0.8
flutter_confetti_engine: ^1.0.8 copied to clipboard
A celebration package that unifies confetti particles, haptic feedback, and optional sound in a single API call.
Changelog #
1.0.8 — 2026-05-03 #
Changed #
- Audio backend replaced — switched from
audioplayerstojust_audio(native) +package:webHTMLAudioElement(web/WASM) via conditional exports. Eliminates the transitivehttpdependency that causedpanato fail dependency resolution, unlocking platform support, static analysis, and dartdoc scoring. - WASM-compatible web audio —
audio_player_wrapper_web.dartusespackage:webanddart:js_interopwith nodart:io, making the package fully WASM-ready on web. - Added
web: ^1.0.0as a direct dependency.
1.0.7 — 2026-05-03 #
Added #
- 10 built-in synthesized sounds —
BuiltinSound.pop,.chime,.fanfare,.applause,.whoosh,.drumroll,.levelUp,.bell,.sparkle,.airhorn. All clips are original Python-synthesized WAV files, MIT-licensed, zero external assets needed. BuiltinSoundenum withassetPathgetter (automatically prefixed withpackages/flutter_confetti_engine/…) — nopubspec.yamlregistration required in the consuming app.ConfettiBundledSoundsupdated: 10 convenience path getters,builtinForPreset(), andpathForPreset()mapping each preset to the best-matched clip.CelebrationFeedback.builtinSoundfield — pick anyBuiltinSounddirectly without a custom asset path.CelebrationFeedback.bundledForPreset(Preset)factory auto-selects the matching built-in clip.- Explicit
platforms:declaration inpubspec.yaml— supportsandroid,ios,linux,macos,web,windows.
Changed #
Presetenum renamed for clarity and originality:nova(wasblastStars),cascade(wasgoliath),flare(wassingles),crossfire(waspumpLeft).- Example app updated: 10-sound showcase grid, new preset display names, stat chip shows "10 sounds".
ConfettiDensityenum values now have individual doc comments (low,medium,high).
1.0.6 — 2026-05-03 #
Changed #
- Dev dependency
flutter_lintsraised to ^6.0.0 (latest compatible with current SDK).
1.0.5 — 2026-05-03 #
Changed #
- Patch release to trigger pub.dev publish via GitHub Actions tag workflow (
v1.0.5/ alignedpublish.yml).
1.0.4 — 2026-05-03 #
Fixed #
- CI: Applied
dart formatanddart fixsoflutter analyzeis clean (package + example app). Restores green GitHub Actions for format, analyze, test, anddart pub publish --dry-run.
1.0.3 — 2026-05-02 #
Fixed #
- Pub.dev score / metadata: Removed explicit
documentation:URL frompubspec.yamlso package analysis does not fail the “Documentation URL” check before hosted API docs are generated (pub.dev still links to generated docs automatically). - Dartdoc: Resolved broken
[reference]links in library comments (public API docs).
1.0.0 — 2026-05-02 #
Changed #
- Stable 1.0.0 release; dependency constraint for consumers:
flutter_confetti_engine: ^1.0.0.
0.1.0 — 2026-05-02 #
Added #
- Particle physics, eight shapes, four presets (
burst,rain,fireworks,snow). ConfettiWidget,ConfettiController, platform haptics, optional sound viaaudioplayers.ConfettiEngine.celebrate()full-screen overlay API.- Stock cheerful MP3s under
assets/sounds/andConfettiBundledSounds(burst,rain,fireworks,snow, pluspathForPreset). CelebrationFeedback.bundledForPreset/CelebrationFeedback.customAsset— explicit package vs app-owned sound choice;none()/hapticsOnly()— disable sound and/or haptics.emojiPoolonConfettiWidget/ConfettiEngine.celebrateand exportedkDefaultCelebrationEmojisfor emoji-shaped particles.- 10 new
ParticleShapevalues (pentagon,hexagon,ring,plus,lightning,crescent,arrow,shield,oval,sunburst) with canvas implementations inConfettiPainter. ConfettiCustomization— optionalparticleCount,colors,shapeMix,gravity,speedMultiplier,lifetimeMultiplieronConfettiWidget/ConfettiEngine.celebrate.