--> A highly customizable scratch card widget for Flutter applications. This package allows you to create scratch cards with ease, using solid colors, images, or custom widgets for the scratchable surface. Perfect for creating interactive promotions, games, or hidden reveal features.

Features

Customizable Scratchable Surface: Use solid colors, asset images, network images, or file-based images as the scratchable layer.

Transparent Eraser Effect: Reveals the hidden content as the user scratches.

Hidden Content: Place any widget behind the scratchable layer, such as images, text, or custom layouts.

Gesture Handling: Supports smooth and natural scratch gestures.

Getting started

dependencies: scratch_card: ^1.0.0 flutter pub get

Usage

the longer examples to /example folder.

const like = 'example';

Additional information

Contributions are welcome! If you encounter bugs or have feature requests, feel free to open an issue or submit a pull request on GitHub.

Tagging for Publishing

Ensure your pubspec.yaml includes the tagPattern field:

version: 0.0.2
tagPattern: ^v{{version}}$