首页 > 解决方案 > 在 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]

我怎样才能像上面那样对表格进行排序?我不知道如何加载列表的某些列。例如)日期

在此处输入图像描述

标签: listflutterdart

解决方案


推荐阅读