scratch_reveal 1.3.1
scratch_reveal: ^1.3.1 copied to clipboard
Interactive scratch card and scratch-to-reveal canvas widget for Flutter with turnkey RewardScratchCard, celebratory confetti bursts, metallic foil, and coin physics.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add scratch_revealThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
scratch_reveal: ^1.3.1Alternatively, 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_reveal/scratch_reveal.dart';