Listening to a variable change in flutter

OP already got an answer in the comments. I’m just typing it here so the question is correctly marked as answered.

Just notify the listener:

countdown.reset.notifyListeners();
// OR
countdown.reset.value = true;

Credit to @pskink

Leave a Comment