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

flutter web problem about refresh page #13

Closed
devchenli opened this issue Jan 4, 2021 · 3 comments
Closed

flutter web problem about refresh page #13

devchenli opened this issue Jan 4, 2021 · 3 comments

Comments

@devchenli
Copy link

devchenli commented Jan 4, 2021

getx_pattern_example Project

from ListPage to DetailPage,
And click browser's refresh button ,
Then crashed :

data != null
"A non-null String must be provided to a Text widget."

截屏2021-01-04 20 09 45

So,When User refreshed current page, the data will be lost.

@kauemurakami
Copy link
Owner

kauemurakami commented Jan 4, 2021

Hello devchenli, you heard some updates, I will pass on today, thanks for your feedback, I will leave this issue open to give you feedback.
Going forward, the GetX widget does not currently allow us to have heavy children, that is, lists, grids, or large chains of components (container does not count as a widget in this case).
So I would start replacing it with an Obx (), passing this function, which gives it in our list of posts, to the onInit of our GetxController and consuming the controller provided by Binding with our GetView

@keremcankabadayi
Copy link

flutter/flutter#59277

@ali-1989
Copy link

ali-1989 commented Jul 15, 2022

can use Restoration

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