scratch_reveal 1.2.1
scratch_reveal: ^1.2.1 copied to clipboard
Interactive scratch card and scratch-to-reveal canvas widget for Flutter with zero-latency foil scratching, flying particles, and fast bitmask tracking.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add scratch_revealWith Flutter:
$ flutter pub add scratch_revealThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
scratch_reveal: ^1.2.1Alternatively, your editor might support dart pub get or 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';