emit(YoutubeVideoState.loaded(controller));
await for (final updatedController in youtubeRepo.watchVideo()) {
add(UpdateVideoStateEvent(updatedController));
}
});on<UpdateVideoStateEvent>((event, emit) async {
print('checkenaataaaffityt: ${emit}');
emit(YoutubeVideoState.loaded(event.controller));
}); i can get continue data from print('checkenaataaffityt: ' ) but my emit UI is not updating: emit(YoutubeVideoState.loaded(controller));
what can be issues?
Can you show us how you did on the UI builder side ?
Обсуждают сегодня