Skip to content

A gradient-colored scratchable layer is drawn over the hidden content.

Notifications You must be signed in to change notification settings

Durgajayasai1/Scratch-To-Reveal

Repository files navigation

ScratchToReveal

Overview

ScratchToReveal is a custom component that mimics a scratch card effect. Users can scratch off a gradient overlay to reveal hidden content beneath. Once a certain percentage of the surface is scratched, the content is fully revealed with an animation.

Features

  • Scratch effect using touch gestures
  • Gradient overlay for the scratchable area
  • Configurable scratch percentage threshold
  • Smooth scratch strokes with a custom painter
  • Reveal animation once the scratch threshold is met

About

A gradient-colored scratchable layer is drawn over the hidden content.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published