gpt4 book ai didi

flutter - owner._debugCurrentBuildTarget == this ,不是真的

转载 作者:行者123 更新时间:2023-12-03 15:11:35 31 4
gpt4 key购买 nike

[on web] 尝试在 FittedBox 中放入一些小部件像这样 :

 FittedBox(
fit: BoxFit.scaleDown,
child: AnimatedContainer(...)
)

但屏幕和控制台仅显示此消息:

error

控制台中没有其他内容

下一步是什么? :D

最佳答案

我在 CustomScrollView 内收到此错误,因为我的一个小部件不在 SliverToBoxAdapter 内。

SliverToBoxAdapter(
child: Row(
children: [
Text('Activity',
style: TextStyle(fontWeight: FontWeight.w600, fontSize: 18),),
],
),
)
我只是确保您的条子列表中的所有小部件实际上都是条子。

关于flutter - owner._debugCurrentBuildTarget == this ,不是真的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59130940/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com