About 9,490,000 results
Open links in new tab
  1. 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' …

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

  3. 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 make it easier to …

  4. Transform flutter bloc event to add debounce - Stack Overflow

    Since bloc 8.0.0 the syntax changed and you need to pass it as a transformer to the on function. Apart from the debouncing you should think about concurrency. To combine sequential processing with a …

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

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

  7. dart - Multi BlocBuilder in Flutter - Stack Overflow

    Jan 2, 2020 · I am a beginner in flutter and is there any examples or documentations which related to multi blocbuilder in one page by using flutter_bloc package in Flutter.

  8. 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( …

  9. How to correctly use BlocListener and BlocProvider in Flutter App

    Jun 11, 2020 · I don't understand why they are coming because last week everything was just fine. The implementation of the bloc in the build method for a widget has become wrong for me all of a …

  10. bloc - How to use BlocBuilder to refresh a Dialog in Flutter - Stack ...

    Dec 26, 2021 · 28 You can use BlocBuilder in Dialog so that it gets rebuilt every time there's a change. For that to work, you also need to pass the current cubit (bloc) using BlocProvider.value.