About 50 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 …

  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 …

  3. 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 …

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

  5. 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 …

  6. flutter - When to use setState () if you are already using bloc or ...

    Jul 21, 2023 · When to use setState () if you are already using bloc or provider or anything? or is a bad practice overall Asked 2 years, 5 months ago Modified 2 years, 5 months ago Viewed 2k …

  7. flutter - BlocBuilder vs BlocListener - Stack Overflow

    Jul 4, 2022 · As I understand, in BlocBuilder the builder: gets called every time the bloc state changes (of course in the case in which buildWhen: is omitted and it always returns true as a …

  8. Why use BloC or Provider in Flutter when we already have Flutter's ...

    Oct 13, 2022 · 3 There are a few reasons to use a BloC or Provider rather than Flutter's built-in setState: BloC and Provider offer a more robust way to manage state. BloC and Provider …

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

    Jan 24, 2020 · First of, I do know how BLoC suppose to work, the idea behind it and I know the difference between BlocProvider() and BlocProvider.value() constructors. For simplicity, my …

  10. flutter - How to make a bloc global accessible - Stack Overflow

    Feb 4, 2019 · The BLoC pattern is better used to manage state of a single specific widget like a screen by example. The BLoC pattern is not use by a single specific widget but use for each …