Basic flutter-bloc-library-v1-tutorial repo stats
about 1 month ago
Similar projects and alternatives to flutter-bloc-library-v1-tutorial
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
reddit.com/r/flutterhelp | 2021-05-01
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.)