how can i get length of list in widget

Issue I can’t get the length of the list in the widget although I wrote everything correct this is my cubit class AppCubit extends Cubit<NewsStates> { AppCubit() : super(NewsInit()); static AppCubit get(context) => BlocProvider.of(context); MianTeams? mianTeams; void getTimes() { emit(NewsLoding());

Continue reading

BlocBuilder vs BlocListener

Issue I have a very specific question when reading the documentation. After reading the BlocBuilder documentation, I then went on by reading about the BlocListener. Everything was pretty clear, until I read this: The listener is guaranteed to only be

Continue reading