scratch_reveal 1.1.2
scratch_reveal: ^1.1.2 copied to clipboard
High-performance GPU-accelerated scratch card and scratch-to-reveal canvas widget for Flutter with sub-millisecond bitmask progress tracking.
1.1.2 #
- Realistic Scratch Textures: Added
ScratchBrushShape.coinwith parallel micro-grooves andScratchBrushShape.roughwith jagged organic edges simulating realistic coin lottery scratching. - Foil Dust & Shavings Particles: Added dynamic metallic foil shaving flakes and sparkle dust physics (
ScratchParticle) that fly and scatter naturally while scratching. - Factory Constructors: Added
ScratchReveal.silverLottery()andScratchReveal.goldLottery()for instant pre-styled scratch cards. - Micro-Texture Shading: Added subtle foil surface cross-hatch detail in
ScratchPainter.
1.1.1 #
- Added
ScratchFoilPresetwith gold and silver metallic foil presets. - Verified CI/CD workflows.
1.1.0 #
- Added
brushShapesupport (circle,coin,square) inScratchRevealwidget andScratchPainter. - Added
onRevealCompletecallback triggered when auto-reveal fade animation finishes. - Added
enabledflag to programmatically toggle touch scratch interactions. - Added
progressandisRevealedgetters onScratchRevealState. - Added explicit
platformsdeclaration (Android, iOS, Web, macOS, Windows, Linux).
1.0.0 #
- Initial stable release of
scratch_reveal. - Sub-0.1ms spatial bitmask area tracking engine (
ScratchBitmaskGrid). - GPU-accelerated
BlendMode.clearscratch path renderer (ScratchPainter). - Configurable auto-reveal animations, metallic foil gradients, and custom cover widgets.
- Haptic feedback integration and programmatic
reset()/reveal()controls. - Interactive example app with real-time progress bar, code reveal, and customization sliders.
- 100% test coverage and zero pub.dev warnings.