scratch_to_win 0.2.5
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_winThis 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.5Alternatively, 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';