Flutter – Missing Statechange in BlocListener (Cubit, initial Load)
I'm refactoring some of my blocs down to cubits and I'm struggling with an unexpected behavior. Widget @override Widget build(BuildContext context) { return BlocProvider( create: (context) => injector.get<DocumentListCubit>()..load(), child: BlocConsumer<DocumentListCubit, DocumentListState2>( listener: (context, state) { context.read<GlobalBusyIndicatorCubit>().busy = state.phase == DocumentListState2Enum.loading;…