forked from firka/flutter
Using .of() to call mutating setters is not great practice since it ties parts of the app together in ways that prevent reuse and composition. Since people are now using the gallery app to copy from, let's use the better practice of using callbacks.