Flutter – individual bloc states
Im building an application that queries stock data from an api, I use bloc for state management but I dont know how to handle each stock data state, currently I have defined a bloc and it has all the logic to query the api, should I use a bloc instance per item? what other approach can I use?
Flutter – individual bloc states
Im building an application that queries stock data from an api, I use bloc for state management but I dont know how to handle each stock data state, currently I have defined a bloc and it has all the logic to query the api, should I use a bloc instance per item? what other approach can I use?
Flutter – individual bloc states
Im building an application that queries stock data from an api, I use bloc for state management but I dont know how to handle each stock data state, currently I have defined a bloc and it has all the logic to query the api, should I use a bloc instance per item? what other approach can I use?
Why is my bloc listener not called even when its a success state?
Here is the code snippet:
Why am I getting an error while adding async keyword to BlocBuilder function?
I am getting error as soon as I add async keyword to the blocbuilder function to use await later. Here is my code snippet: