scratch_to_win 0.2.5 copy "scratch_to_win: ^0.2.5" to clipboard
scratch_to_win: ^0.2.5 copied to clipboard

Scratchable overlay to reveal hidden widgets with gestures and callbacks. Supports progress tracking, confetti, haptics, sound, brush textures, image overlays, and a controller for reset/reveal-all.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add scratch_to_win

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  scratch_to_win: ^0.2.5

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:scratch_to_win/scratch_to_win.dart';
2
likes
140
points
240
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Scratchable overlay to reveal hidden widgets with gestures and callbacks. Supports progress tracking, confetti, haptics, sound, brush textures, image overlays, and a controller for reset/reveal-all.

Repository (GitHub)
View/report issues

Topics

#ui #animation #widget #game

License

MIT (license)

Dependencies

audioplayers, flutter

More

Packages that depend on scratch_to_win