list - 在 Flutter 中加载列表的某些列(我认为这可能很容易)
问题描述
我是 Flutter 的新手,我有一个这样的列表:
[{text: hello, date: 2020-09-11}, {text: hi, date: 2020-09-12},{text: why, date: 2020-09-11},
{text: how, date: 2020-09-10},{text: when, date: 2020-09-11},{text:flutter, date: 2020-09-12}]
我想从一个有很多重叠元素的表中选择这个。
[2020-09-10, 2020-09-11, 2020-09-12]
我怎样才能像上面那样对表格进行排序?我不知道如何加载列表的某些列。例如)日期
解决方案
推荐阅读
- entity-framework - 如何将实体从 DAL 映射到 BL
- python - 如何在matplotlib boxplot中为每个x显示两个数字?
- python - 如何用python函数连接信号槽(qt-designer)
- php - 通过php将参数传递给python脚本
- android - Dagger2 范围,每个组件的实例
- php - 获取上传的音频文件的 id 以在 [playlist] 短代码中使用的函数
- debian - 在 Debian Jessie 中运行 apt-get update 时出现“无法获取 404”错误
- python - Python 从 xhtml:link 抓取属性值
- python - Python:给定两个文件名列表,根据日期部分查找常用文件名
- python - 如何从本地目录而不是 pip 安装的库导入模块?