You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Putting this widget in a Scaffold's body prints null twice, which is unexpected. Hitting Ctrl+S to save the file triggers a hot reload and prints "I'm a child" twice, as expected.
The text was updated successfully, but these errors were encountered:
The first time
BoxyDelegate.layout()
is processed, trying to access a child'sparentData
evaluates tonull
.After a hot reload or changing the screen state to rebuild it, layout is called again but parentData is now accessible.
Code example:
Putting this widget in a Scaffold's body prints null twice, which is unexpected. Hitting Ctrl+S to save the file triggers a hot reload and prints "I'm a child" twice, as expected.
The text was updated successfully, but these errors were encountered: