I am a new developer in FLUTTER.
I have a class in which I want to receive in CTR an instance of BLOC.
In addition, in the class itself I want to use STATES from the BLOC and listen to changes in STATE.
How can I do that??
I am a new developer in FLUTTER.
I have a class in which I want to receive in CTR an instance of BLOC.
In addition, in the class itself I want to use STATES from the BLOC and listen to changes in STATE.
How can I do that??