Features
x
Notifierx
Disposerx
Disposable
Usage
class Bloc with Notifier {
Bloc(Listenable dependency) {
dependency.subscribe((){
counter++;
notifyListeners();
}).disposeBy(this);
}
int counter = 0;
}
x
Notifierx
Disposerx
Disposable
class Bloc with Notifier {
Bloc(Listenable dependency) {
dependency.subscribe((){
counter++;
notifyListeners();
}).disposeBy(this);
}
int counter = 0;
}