作者热门文章
- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我正在学习如何制作AnimatedList
。我运行了 example from the documentation .虽然它不像 ListView
那样易于理解和使用,但该示例有效。但是,文档页面上有一条消息:
This page is deprecated and its content may be out of date.
通常当某些东西被弃用时,有更好的方法来做,但我找不到任何其他信息。导致它被弃用的文档页面有什么问题?
最佳答案
看起来这种风格的文档已经停产了。
因此,代码不是最新的,也不再维护。
/docs/catalog/samples并不是 flutter.io 上“文档” 选项卡的一部分 了。
它仅重定向到“样本精选列表”,这与 flutter.io 的 /docs/catalog/samples/...
部分无关。 .
AnimatedList
类 can be found in the widgets documentation .
一些小部件在其文档页面中内置了示例。这方面的一个例子是 Column
.
因此,得出不再需要旧样本的结论。
关于flutter - 弃用的动画列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54375280/
我是一名优秀的程序员,十分优秀!