-
I have some dilemma: I have a AuthBloc(lift state up) witch is on top of the tree, down comes other blocs for profile, products, etc. When an event is launched to ProfileBloc/PostBlocs... some usecase…
-
Hi @FilledStacks ,
I'm wondering if the approach used in the architecture you proposed resembles the bloc pattern.
For example, this code is using the bloc pattern:
```
class SignInBloc {
…
-
Good afternoon, I'm taking a class in Architecture and Software Design and we are building an app with Flutter and we decided to use BLoC for the rich and nicely done structure. When I was studying it…
-
The cookbook has the recipe [Fetch data from the internet](https://flutter.dev/docs/cookbook/networking/fetch-data). Recipes also showing how to POST/PUT/DELETE data to the internet would be good to m…
-
Hello,
Actually i'm using Hydrated_bloc not as a cache for my app but more as adatabase.
I have two problems with it :
First, hydrated bloc use temporary temporary storage so it can be wiped at any…
-
From experience looking at larger Flutter applications, it is relatively common to have some dependency between providers.
For example, we may have a `Provider` and a `Provider` where the latter de…
-
In my app, I have some interdependent objects.
`UiPreferences` and `Authentication` both depend on `DeviceRegistration`. I have blocs for all three.
When the app launches, I have to get an exis…
-
I want dispatch an event in my api_serivice.dart when api response auth failed, just like
```
userBloc.dispatch(UserAuthFailed());
```
But I cannot get userBloc in my api_serivice.dart like
`…
-
I am using bloc architecture based this repo.
It seems that it is based a lot on type checking such as:
> if (event is FooEvent) {
> // ...
> }
> //.. or
> if (state i…
-
I have just converted to the latest release (1.8.0+1) and am now getting a lot of the above errors.
Nothing has changed in my code other than the use of getAsReactive instead of getAsModel.
Here…