title: How do I display table or similar structure in flutter with passed map json data
body: <p>I am having a <code>person_details.dart</code> file with a variable of type Map as below</p>
  
  <pre><code>class PersonDetails extends StatefulWidget {
    final Map selectedData;
    ...
  </code></pre>
  
  <p>The selectedData is as below</p>
  
  <pre><code>{ "id":"12345", "name":"Sameer Jadhav", "score" : 90}
  </code></pre>
  
  <p>So in my flutter app when I navigate to next screen I want a dynamic display the table (or similar structure) like below</p>
  
  <pre><code>_________________________
   KEY     VALUES
  _________________________
   id      12345
  _________________________
   name    Sameer Jadhav
  _________________________
   score   90
  _________________________
  </code></pre>
  
  <p>Note: the JSON data fields can change to include more/ less fields
  i.e. </p>
  
  <pre><code>{ "id":"12345", "name":"Sameer Jadhav", "score" : 90, "address" : "India"}
  </code></pre>
  
  <p>So the display should dynamically generate the table rows for the number of fields available in map.</p>
  
  <p>So is there any way in flutter to achieve the same. Thank you in advance.</p>