changed method

  1. @override
Subscription changed(
  1. Function callback
)
override

Listen on value changed then run callback

Function callback can has parameters

  • none
  • one: the current value
  • two: the current, old value

Implementation

@override
Subscription changed(Function callback) {
  final s = super.changed(callback);
  _rebuild(true);
  return s;
}