title: card List view in Flutter from Object
body: <p>I am familiar with creating ListView from array of string but need help using JSON data</p>
  
  <p>I need to create a flutter list view having cards from following JSON data such that, on card only name field is visible whereas, when we click on card both the id and name should be visible on new page.</p>
  
  <p>How to attach a JSON Object to clickable card?</p>
  
  <pre><code>{
    "data": [
      {
        "id": 111,
        "name": "abc"
      },
      {
        "id": 222,
        "name": "pqr"
      },
      {
        "id": 333,
        "name": "abc"
      }
    ]
  }
  </code></pre>