Hi ! Quick question : I can't find when the dispose method of the MovieBloc is called. Am I missing something or is it dead code as of today ?
Activity
lepinay commentedon Oct 8, 2018
Implementation is bogus
It should use an StateFullWidget instead of an InheritedWidget for the MovieProvider and implement dispose there
See example here: https://stackoverflow.com/questions/51690230/flutter-inheritedwidget-dispose
or here https://www.didierboelens.com/2018/08/reactive-programming---streams---bloc/#there-is-only-1-constraint-accessibility-of-the-bloc
Muldec commentedon Oct 10, 2018
Thanks ! I figured it out since my original question bbut its good to have a confirmation.