About 51 results
Open links in new tab
  1. What is the difference between Cubit and Bloc? - Stack Overflow

    Jul 28, 2020 · The main difference between Cubit and Bloc is that in Bloc you have Event class in addition to State. So, you are able to use EventTransformer function in order to manipulate your events.

  2. Can anyone tell the difference of "flutter_bloc" and "bloc" packages in ...

    Aug 19, 2020 · The 'bloc' package contains things you will use in your Bloc layer, like the Bloc class. This isn't necessarily flutter dependent, it is just the logic architecture of your app. The 'flutter bloc' …

  3. BlocProvider.value Vs BlocProvider (create:) - Stack Overflow

    Oct 22, 2020 · BlocProvider.value( value: BlocProvider.of<BlocA>(context), child: ScreenA(), ); when you have already created a bloc in a different BlocProvider and you just want that same bloc to be …

  4. dart - get_it with Flutter bloc - Stack Overflow

    Jan 9, 2024 · What the need for get_it in Bloc implementation as we are already using BLOC Provider for dependency injection ? I'm currently using bloc provider for Dependency Injection and how get_it …

  5. Bloc, Flutter and Navigation - Stack Overflow

    Jan 9, 2019 · BLoC is a very promising approach for state management in Flutter because of one signature ingredient: streams. They allow for decoupling the UI from the business logic and they play …

  6. BlocProvider.of() called with a context that does not contain a Bloc ...

    Jan 24, 2020 · The following assertion was thrown building Builder(dirty): BlocProvider.of() called with a context that does not contain a Bloc of type UserBloc. No ancestor could be found starting from the …

  7. Quais as diferenças entre BLOC x Cubit? - Stack Overflow em Português

    Oct 12, 2020 · BLOC e Cubit fazem parte do mesmo pacote (bloc) e utilizam o mesmo padrão (BLoC - Design Pattern Business Logic Component) que ajuda a separar a camada de apresentação da …

  8. flutter bloc: how to wait for an event the return some state data

    Jun 4, 2023 · I am trying to integrate flutter_login widget with bloc. Here is the sample code I am using BlocProvider( create: (ctx) =&gt; UserAuthenticationPageBloc(ctx), child: BlocListener&lt;

  9. flutter - How to scope the BlocProvider correctly when using go_router ...

    Nov 19, 2023 · It sounds like you need to have your bloc provided at a higher level. For example, you could wrap your MaterialApp.router with a MultiBlocProvider.

  10. "Missing concrete implementation of 'getter _$CounterState.count'. Try ...

    May 21, 2025 · I got an error in using flutter bloc and freezed page using for state management I couldn't find solution "Missing concrete implementation of 'getter _$CounterState.count'.