You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Sorry about labeling a bug, but I could not find any related label for my issue.
Error saying string value of a bloc state is empty, but when looking into the bloc observer the states are mapped correctly.
Steps To Reproduce
The problem that I have is that The BLocBuilder from AddressView it does not take into account the newly updated state.
From my undestanding is that the bloc state is updated to late since the BlocBuilder still takes the old value. (the empty value)
Class where the exception is thrown: AccountView.
Bloc is Provided in the app_widget.dart , then I add an event to the satefull class AccountView -> and build the view. (Crashes on the BlocBuilder).
In the BlocObserver the state changes correctly but when it reaches the BlocBuilder the initial value is taken into account and not the newly changed state with the initialized values.
Description
Sorry about labeling a bug, but I could not find any related label for my issue.
Error saying string value of a bloc state is empty, but when looking into the bloc observer the states are mapped correctly.
Steps To Reproduce
The problem that I have is that The BLocBuilder from AddressView it does not take into account the newly updated state.
From my undestanding is that the bloc state is updated to late since the BlocBuilder still takes the old value. (the empty value)
Class where the exception is thrown: AccountView.
Bloc is Provided in the app_widget.dart , then I add an event to the satefull class AccountView -> and build the view. (Crashes on the BlocBuilder).
In the BlocObserver the state changes correctly but when it reaches the BlocBuilder the initial value is taken into account and not the newly changed state with the initialized values.
You can clone the project from: https://github.com/gizet/vault_pass if you like to take a look.
Expected Behavior
Screenshots
StackTrace:
Additional Context
The text was updated successfully, but these errors were encountered: