flutter - 扑。如何为重新排序的 ListView 设置动画?
问题描述
是否可以像 ReorderableListView 一样为 ListView 的顺序更改设置动画,但无需用户交互。
例如,在几秒钟后,ListView 的顺序会发生变化。所以我有两个具有相同项目但顺序不同的列表。ListOne 和 ListTwo。
我已经看过 AnimatedList,但我可以在那里删除或添加动画。我需要像移动动画这样的东西。
不知何故像 ReorderableListView,但没有用户交互。或者是否可以在 ReorderableListView 中以编程方式替换用户交互?
提前致谢
解决方案
推荐阅读
- html - 如何使箭头固定到 div 卡?
- c++ - 计算字符串中子字符串的出现次数
- bash - 执行上一条命令的结果
- endpoint - Sagemaker Endpoint 限制异常
- spring-boot - 如何在@WebMvcTest 中模拟自定义 JWT 声明
- c# - 以编程方式检查 BitLocker 在系统上是否可用的优雅方法?
- javascript - 如何只获取字符串的特定部分?
- git - 如何在我的 git 项目中获取最旧的标签?
- android - Jetpack compose 如何在引擎盖下工作
- javascript - 如何在 webpack 包中为 Rails 应用程序定义全局 javascript 方法