Closed alikhleel closed 1 year ago
Do you mean a spinner for async functions ?
if so, certainly there are many ways
as you said there may be many other ways to do it. However, is there a more generalized way to do it across the application, like block in flutter.
For now, I don't see its benefits. But I just asked in case you had some experience with it.
Yes I had it was not really general but it worked
Yes, I think this is what we need for now. However, there are some other states that needs to be managed across the whole application, but let's keep it simple for now.
We need an abstract class that store modules state.
For example, when we want to add loading bar in the login page, or when we get offers in the offer page. Is there a way to store and manage state of the the modules?