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

    Jul 28, 2020 · I am a bit confused about the new release of Bloc: 6.0.0, adding Cubit notion, is the bloc depreciated or we can use both of them?

  2. how to use flutter_bloc with go_router - Stack Overflow

    Dec 12, 2021 · I have built an app where I use flutter_bloc. i want to use go_router for navigation.but for dynamic routing how can i use GoRouter refreshListener parameter with …

  3. flutter - MVVM vs Bloc patterns - Stack Overflow

    Mar 1, 2019 · BLoC and MVVM seemed to be different when BLoC was introduced, but that differences faded away as BLoC implementations changed over time. Right now the only real …

  4. bloc - Proper separation of layers and ChangeNotifier in Clean ...

    Aug 7, 2023 · I am currently implementing Clean Architecture in a Flutter app, dividing it into three layers: domain, data, and presentation. The domain layer consists of use cases, entities, and …

  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 …

  6. Can anyone tell the difference of "flutter_bloc" and "bloc" …

    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 …

  7. flutter - Modal Bottom Sheet and Bloc - Stack Overflow

    Jun 29, 2020 · Actually if you need this bloc only in bottom sheet and nowhere else, the better and cleaner solution is create the StatefullWidget for bottom sheet content, create the Bloc inside …

  8. dart - Flutter could not find the correct Provider<Bloc> after ...

    May 2, 2021 · Below is an extract of my MaterialApp in which I wrap the creation page with a RepositoryProvider and BlocProvider so that the creation page has access to the Bloc and …

  9. How to manage multiple state on same screen using flutter bloc

    Feb 11, 2022 · Like if you have one bloc named testbloc with multiple state then you can define multiple copies of bloc using bloc provider and in bloc builder you can reference the bloc.Catch …

  10. bloc - Flutter auto_route | How do I wrap a route with BlocProvider ...

    Jun 14, 2021 · So, I'm using the auto_route package for navigation in my app and flutter_bloc for state management. When I was using the old Navigator, I could just wrap a route with a …