[Solved] Flutter – Is there any way to change variable value without using setState() or notifyListeners()

use stream.it is like a pipe you add value from a side (Sink) and recieve it on the other side (Stream).i will try to explain it: //make a stream controller StreamController<bool> valueController = StreamController(); //this will listen to every new value you add Stream valueOutput = valueController.stream; //you can add new values throw the sink … Read more