observer

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

observer

Basic dart only observer pattern without any special features.
Features #

pass context through update arguments

Usage #

Inheritance from observer/observable
Add observer to observable instances
Call notifyObservers form the observable instance

//create observer
final observer = ObserverX();

//create observable and both observer
final observable = ObservableX();
observable.addObserver(observer);

//notifies all observer
observable.notifyObservers(/*arguments*/);
copied to clipboard
Checkout example or test for detailed information.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.