Usually, this means that the Expanded widget has the wrong ancestor RenderObjectWidget. Typically, Expanded widgets are placed directly inside Flex widgets. The offending Expanded is currently placed inside a DecoratedBox widget.
翻译:
通常,这意味着扩展的小部件具有错误的RenderObjectWidget祖先。通常,扩展的小部件直接放在Flex小部件中。有问题的扩展文件当前放置在装饰框小部件中。
简言之:你的Expanded组件之上没有用Column或Row或Flex组件包起来。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)