About 10,200,000 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. 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 difference is that …

  3. What is the use of BlocSelector in flutter_bloc - Stack Overflow

    Oct 5, 2021 · What is the use of BlocSelector in flutter_bloc Asked 4 years, 2 months ago Modified 3 years, 8 months ago Viewed 18k times

  4. 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' …

  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. 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 flutter_bloc GoRouter( …

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

    Jun 29, 2020 · 2 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 this …

  8. 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 is that your …

  9. flutter - Providing BLoCs - Global vs Specific - Stack Overflow

    Aug 8, 2022 · I am currently learning to use the BLoC pattern for state management and architecture for Flutter and Dart. I have come across 2 ways of providing access to a BLoC in a widget. 1 - Use …

  10. Flutter Bloc is not updating the state/ not working

    Apr 21, 2020 · Bloc will never change If the state didn't change, you might be confused that you assigned a state, but the fact is that Bloc is a Stream, you'll need to yield a state instead of assigning …