vintage / scratcher

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

Replace key with controller approach #23

Open Ascenio opened 3 years ago

Ascenio commented 3 years ago

I was looking at the docs and I just noticed that the package allows the client to control it programmatically by using keys instead of a controller. Was there any reason to choose one over the other?

vintage commented 3 years ago

The only advantage was quicker implementation. Adding controller, which is more Flutter friendly approach is definitely a nice to have feature :+1: