vintage / scratcher

Scratch card widget which temporarily hides content from user.
https://pub.dev/packages/scratcher
MIT License
572 stars 67 forks source link

Update thresholdReported on reset() and reveal() #10

Closed DaSlang closed 4 years ago

DaSlang commented 4 years ago

Hello vintage! The property thresholdReported wasn't updated when calling the reset() method or the reveal() method, so I updated the property in both methods. I also updated the basic example: now it shows the current state of the thresholdReported property.

vintage commented 4 years ago

Hey @DaSlang, thanks for the contribution! The change looks good, merging it! :+1: