-
Notifications
You must be signed in to change notification settings - Fork 721
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
嵌套在CustomScrollView使用抛出异常 #47
Comments
我在listview里面嵌套也是这个错 |
不知道你的实际情况,说一下我的解决方案:如果是从网络请求的数据,请加上if...else...判断,在数据回来之前return一个Container @CrazyCoderShi @xuwankang |
Widget _widgetPlanList() { 跳转到指定索引:controller.move(index); |
@zhaowenxin 我压根没有使用这个属性... |
遇到了这个问题,求结局方案 |
@MayIGetKepler 解决方案就是放弃这个repo,作者根本不关心issue |
有什么好的推荐吗 |
同样问题在这里 |
@chenxianqi 同样的问题,请问解决了吗 |
还没解决吗 |
I found the solution!! |
If you want to use Swiper in other ScrollView ( like ListView ), consider boxing it using Container OR other Widget that could offer the certain size. Container(
constraints: BoxConstraints(maxHeight: 200, maxWidth: 200),
child: Swiper()
) The reason is described at Unbounded constraints. |
多谢,你的回答解决了我的问题 |
我是嵌套到ListView里面使用 |
I have this issue and i realized tha with a heighted Containter it works, but y have a Swipe whith variable heights, do you know to deal with that dinamic height? |
RT: 我在CustomScrollView中的嵌套使用,在自动滚动的过程中会抛出如下异常:
flutter: Another exception was thrown: ScrollController not attached to any scroll views.
The text was updated successfully, but these errors were encountered: