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

  2. Flutter listen Bloc state from Other Bloc - Stack Overflow

    Dec 2, 2019 · 21 Actually in one of the examples of the bloc library they listen to a Bloc (TodosBloc) from another Bloc (FilteredTodosBloc).

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

  4. How to list all functions in a module? - Stack Overflow

    I have a Python module installed on my system and I'd like to be able to see what functions/classes/methods are available in it. I want to call the help function on each one. In …

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

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

  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 …

  9. ListView.builder build new elements using Bloc? - Stack Overflow

    Dec 15, 2022 · I'm using GroupedListView (which is based on ListView.builder) to implement a chat. I have a ChatBloc bloc that is responsible to handle new messages from the DataLayer. …

  10. Emitting states from a bloc using bloc.emit - Stack Overflow

    Oct 18, 2020 · I'm building a phone authentication ui (OTP) using firebase_auth library with BLoC pattern (a bit of an overkill for this ui, but the whole project is in BLoC, so). I'm processing the …