I have a list of data called anchors that has a link to a detailed screen. And each anchor has distribution centers which are an array of nested objects. so I was able to parse
IF you want all addresses inside DistributionCentres
Column(
children: [
Text(value[1]['Name']),
Text(value[1]['Oid'].toString()),
ListView.builder(
itemCount:value[1]['DistributionCentres'].length
context:context,
builder:(BuilderContext context, int i){
return Text(value[1]['DistributionCentres'][i]['Address'])
}))
],
),
IF you want one address
Text(value[1]['DistributionCentres'][1]['Address'])
Like to remind for the value[1] you can pass the selected id from previous screen and used it here as value[selected id],
Hope this helps..