[오류처리] A RenderBox object must have an explicit size

in flutter •  4 years ago 

아래와 같은 오류가 보인다면 ...

image.png

A RenderBox object must have an explicit size before it can be hit-tested. Make sure that the RenderBox in question sets its size during layout.

해결

image.png

shrinkWrap : true 를 추가하여 컨텐츠의 사이즈 정보를 추가하도록 한다

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!