从下拉菜单中选择一项,我想在颤动的文本字段中显示它的多个值。例如,如果我选择学校,它将显示其名称、位置、联系电话。所以我需要从那个项目中收集多个值。如何从 dropDownMenuItem 获得多个值来显示多个值?例如学校列表项目如下:
"SchoolList": [
{
"name": "school1",
"location": "location1",
"contact_no": "address1"
},
{
"name": "school2",
"location": "location2",
"contact_no": "address2"
},
{
"name": "school3",
"location": "location3",
"contact_no": "address3"
},
],