listen method
Listen on value changed then run callback, it also run callback in first time
Function callback can has parameters
- none
- one: the current value
- two: the current, old value
Implementation
@override
Subscription listen(Function callback) {
final s = super.changed(callback);
_rebuild();
return s;
}