scratcher 1.4.1
scratcher: ^1.4.1 copied to clipboard

Flutter Android iOS Linux macOS web Windows

Scratch card widget which temporarily hides content from user.

1.4.1 #

  • Add new callbacks to track scratching events

1.4.0 #

  • Fixed image support in Flutter 1.20
  • Added support for dynamic brush size
  • Fixed threshold reporting when using reset/reveal methods
  • Updated example project

1.3.0 #

  • Added image to support for asset, network & memory images
  • Removed imagePath (use image: Image.asset(...) instead)
  • Removed imageFit (configure through image fields instead)

1.2.1 #

  • Fix issue with scratch area size

1.2.0 #

  • Removed revealDuration parameter - same effect can be now achieved through reveal() method
  • Added programmatic access to scratch widget - reset() and reveal() methods
  • Minor performance improvements and memory management

1.1.0 #

  • Added revealDuration parameter to automatically reveal area on threshold
  • Major performance improvements

1.0.0 #

  • Added accuracy parameter to control performance level
  • Improved algorithm calculating the progress
  • Fixed size of the scratch area
  • More fun & complex example

0.0.5 #

  • Improve code quality (pedantic)

0.0.4 #

  • Fix scratcher size

0.0.3 #

  • Readme images

0.0.2 #

  • Extend documentation
  • Add example project

0.0.1 #

  • Initial release
123
likes
110
pub points
88%
popularity

Publisher

rykowski.dev

Scratch card widget which temporarily hides content from user.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on scratcher