Triggering initial event in BLoC
Your discomfort really has reason – no event should be fired from build() method (build() could be fired as many times as Flutter framework needs) Our case is to fire initial event on Bloc creation Possibilities overview case with inserting Bloc with BlocProvider – this is preferred way create: callback is fired only once when … Read more