Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use in FutureBuilder? #105

Open
mytc opened this issue May 17, 2021 · 5 comments
Open

How to use in FutureBuilder? #105

mytc opened this issue May 17, 2021 · 5 comments

Comments

@mytc
Copy link

mytc commented May 17, 2021

The FutureBuilder need to return a widget, but easyloading have to call the instance.
How to solve this issue?
FYI, I used this when loading a page, while waiting for the data to load, I need to show the loading indicator.


  if (snapshot.connectionState == ConnectionState.active ||
              snapshot.connectionState == ConnectionState.waiting) {
            EasyLoading.show();
            return SizedBox();
          }
@github-actions
Copy link

Thanks for taking the time to open an issue. I will have a look and answer as soon as possible.

@neiljaywarner
Copy link

bump

@gOzaru
Copy link

gOzaru commented Sep 9, 2021

See this answer
Hope it helps you.

@ToxicGamer-exe
Copy link

Sooooo... did anyone find a solution? 😅
I've spent my whole day trying to figure this out, I asked like 3 different chatbots, tried million different approaches, but no luck...

@neiljaywarner
Copy link

Could you use riverpod asyncvalue either with or without easyloader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants