标签: grouped-list

扑。按列表字段分组列表

我有一个带有字段组的项目列表。组也是列表。我想显示按组分组的项目列表。该项目可以是两个或多个组的一部分。

\n
List<Product> _items = [\n    Product(\n        id: \'1\',\n        title: \'Apple and more more thing\', description: \'Some data to describe\',\n        group: [\'Picnic\', \'New\'], price: 25, bonus: 1, quantity: 1.5, measure: \'\xd0\xba\xd0\xb3\', measureStep: 1.5,\n        imageUrl: \'assets/fruits/orange.jpg\'),\n    Product(\n        id: \'2\',\n        title: \'Apple and more more thing\', description: \'Some data to describe\',\n        price: 24.50, bonus: 1, group: [\'Picnic\', \'New\'], quantity: 1.5, measure: \'\xd0\xba\xd0\xb3\', measureStep: 1.5,\n        imageUrl: \'assets/fruits/orange.jpg\'),\n    Product(\n        id: \'3\',\n        title: \'Apple and more more thing\', description: \'Some data to describe\',\n        price: 5.00, …
Run Code Online (Sandbox Code Playgroud)

list slug dart flutter grouped-list

0
推荐指数
1
解决办法
3885
查看次数

标签 统计

dart ×1

flutter ×1

grouped-list ×1

list ×1

slug ×1