Flutter Bloc Library Tutorial (1.0.0 STABLE) (by campanagerald)


Basic flutter-bloc-library-v1-tutorial repo stats
about 1 month ago

Flutter-bloc-library-v1-tutorial Alternatives

Similar projects and alternatives to flutter-bloc-library-v1-tutorial

  • GitHub repo river_pod

    A simple way to access state while robust and testable.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better flutter-bloc-library-v1-tutorial alternative or higher similarity.


Posts where flutter-bloc-library-v1-tutorial has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-05-01.
  • Riverpod - Animate state change
    Next option is using a StateNotifier (I'm quite confused about this one) this way you wrap your class with StateNotifier and emit different states in different situations which leads us to use a "BLoCy" solution. Riverpod official page has a third party examples section which led me to this one. So basically defining states same or at least very similar as in BLoC (of course its migrating BLoC to Riverpod). This way you can achieve the expected behavior but there's a lot (?) boilerplate code. (Sidenote: Dart really needs enums like Swift has, associated values are extremely powerful and the above mentioned boilerplate code would be like 6 lines.)