I am using RxDart to observe changes and update the UI accordingly. When the app launches I am making a network call and successfully getting the data, observe the changes a
You can also resolve it be replacing:
MovieDetailBloc() { _movieId.stream.transform(_itemTransformer()).pipe(_trailers); }
with
MovieDetailBloc() { _movieId.stream.transform(_itemTransformer()).listen((data) { if (!_categories.isClosed) { _trailers.add(data); } }); }