yet_another_observer 2.0.0 copy "yet_another_observer: ^2.0.0" to clipboard
yet_another_observer: ^2.0.0 copied to clipboard

Need to retrofit some observers to your existing code base? This plugin can help!

[2.0.0] May 27, 2022 #

  • Added missing hasChanged parameter and fixed default values for observer methods in YAObserverManager and YAObserverStatefulMixin.
  • Removed the super.build() requirement from YAObserverStatefulMixin and replaced it with an updateObservers() that can be called from anywhere to update all observers. This makes it possible to update observers for example from within a ScopedModel builder instead of only from outside it (which would defeat its purpose).
  • Improved documentation about observing non-scalar values.

[1.0.0] May 26, 2022 #

Replaced event.previous with event.history. Updated test and documentation. Formatted the code.

[0.0.1] May 26, 2022 #

Initial release.

0
likes
130
pub points
13%
popularity

Publisher

verified publishermagnuswikhog.com

Need to retrofit some observers to your existing code base? This plugin can help!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on yet_another_observer