About 16,000,000 results
Open links in new tab
  1. How can I comment multiple lines in Visual Studio Code?

    I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code. Is it possible to comment and uncomment multiple lines in Visual Studio Code using some shortcut? If …

  2. How do you do block comments in YAML? - Stack Overflow

    YAML supports inline comments, but does not support block comments. From Wikipedia: Comments begin with the number sign ( # ), can start anywhere on a line, and continue until the end of the line A …

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

  4. How to access **state** outside of BlocBuilder? - Stack Overflow

    Aug 20, 2023 · @DavidBlack Yes you are right about your approach and yes use cases for flutter_bloc vary a lot and it totally depends on the situation we are working on. I just listed few of the example in …

  5. bloc - Flutter Cubit InitState - Stack Overflow

    Sep 29, 2022 · Firstly, I strongly advise you to avoid the StatefulWidget when you use BLoC, but it doesn't mean you can't use it at all. Just be careful because setState() can rebuild BlocProvider …

  6. Concepts of BlocListener, BlocBuilder, and BlocProvider

    Jan 3, 2024 · The BlocListener is a widget. It needs to be in the widget tree to properly work, the widget tree being what you return in the build method of your widgets (or their states in case of stateful …

  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 conect entity (domain layer) and model (data layer) using BloC ...

    Mar 23, 2023 · I'm trying to learn how to follow a clean feature-first architecture using Bloc and Freezed. From what I've seen, I should have inside the Domain layer, an entity class declaring only its propertie...

  9. Whether `Bloc` and `Cubit` are completely equivalent?

    Mar 2, 2023 · About the difference between Bloc and Cubit: They are pretty equivalent, the main difference between Bloc and Cubit lies in the event system. Cubit There is an interaction -> you call a …

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