About 21,000,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. 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 …

  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. BlocProvider.value Vs BlocProvider (create:) - Stack Overflow

    Oct 22, 2020 · I'm assuming that because this bloc wasn't created by the BlocProvider you're currently using (with BlocProvider.value) it won't handle closing the bloc - that will be done by …

  7. Can i store application data using bloc - Stack Overflow

    Feb 3, 2021 · I have used redux in react-native and so when moving flutter i am learning bloc. I know about the working of bloc in basic like how to handle API call and manage state of the …

  8. Best practice for BLoC pattern in Dart/Flutter - Stack Overflow

    Oct 21, 2020 · When using a the BLoC pattern in Flutter, what is considered good programming practice when it comes to structuring your application code? This is a loose question so I will …

  9. Flutter BLOC and Provider how to register them together

    Aug 12, 2020 · I'm writing an app using BLOC architecture and registered bloc providers like this in the main.dart: runApp(MultiBlocProvider(providers: [ BlocProvider<OrderBloc>( create: …

  10. Persisting State using Hydrated Bloc version 5 and above

    Oct 18, 2021 · I am trying to use Hydrated Bloc to persist the state in my app. The tutorials I have found are all using previous versions of Hydrated Blocs and use the BlocSupervisor, which …