我该如何在扑朔迷离上以Instagram的形式扮演图片位置?

发布于 01-18 15:23 字数 219 浏览 3 评论 0原文

输入图片此处的描述

当我单击除第一个图片之外的图片时,帖子未位于 AppBar 下。我想让它像Instagram的功能一样。我该如何修复它?

enter image description here

post is not positioned under AppBar when I clicked on the picture except first. I want to make it like Instagram's function. How can I fix it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

离旧人2025-01-25 15:23:47

如果您想使其正常工作,请执行逻辑以计算空间并直接设置值。

如果您使用

scrollController.animateTo(180.0,
    duration: Duration(milliseconds: 500), curve: Curves.ease);

If you want to make it work, do a logic to calculate the space and set the value directly.

If you use

scrollController.animateTo(180.0,
    duration: Duration(milliseconds: 500), curve: Curves.ease);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文