-
Notifications
You must be signed in to change notification settings - Fork 817
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
'RenderBox was not laid out' was thrown #97
Comments
After some debugging i found out that this error is being thrown here: flutter_login/lib/src/widgets/auth_card.dart Line 280 in 2fe68e4
If we comment out this CustomPageTransformer() we don't get the error anymore. However, this PageTransformer controls the effect when navigation from login page to password reset page.
I have tried some things but i cant seem to find why this PageTransformer is causing issues. I think it has something to do with the parent width and height but i'm not sure. |
I'm also seeing this for 1.1.0 in a fresh project where I simply add the example implementation. Is there a workaround that does not include hacking the library? Attaching my sample project. |
At this moment there is no work around besides commenting out the |
I see. I'll keep an eye open if I stumble into something. I reverted to 1.0.15 and it works great. |
Hello all, Or a workaround :)? |
Hi all, |
Unfortunately, I have encountered even bigger problems with
It took me quite some time to discover the real cause, and I am still not sure under which conditions the problem surfaces but commenting that one line of code in |
Hi, is there any update on this issue? |
I have added the following parameter which can be used to disable the |
Describe the bug
'RenderBox was not laid out' was thrown.
To Reproduce
Steps to reproduce the behavior:
The code I wrote was below
(just to show login form)
And when I start the app, an error was thrown
Screenshots
I can see the error message below
Information (please complete the following information):
The text was updated successfully, but these errors were encountered: