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
In my project I have several pages on which I need to perform more that 1 different requests in order to get all the sections that are displayed.
I'd like to have a Builder which will be capable of handling multiple BaseRequestCubits and combine their states into something like:
If all 3 are in "Loading state" -> Show just one loading indicator on page,
If at least one have the data -> Display it on the page and show other sections with separate loaders,
If all three requests failed -> Show just one error state,
...
The text was updated successfully, but these errors were encountered:
piotruela
changed the title
Builder/Cubit for combining multiple requests GET on one page.
Builder/Cubit for combining multiple GET requests on one page.
Oct 31, 2024
In my project I have several pages on which I need to perform more that 1 different requests in order to get all the sections that are displayed.
I'd like to have a
Builder
which will be capable of handling multipleBaseRequestCubit
s and combine their states into something like:...
The text was updated successfully, but these errors were encountered: