title: I am trying to get a key and and a corresponding value from a Dart map but I'm failing no matter what I try
body: <p>Here is the data; it's a list and one of the items (credit vendors) is a map of k, v pairs. I want to put each key and each value in their own Text widget. The code is below.</p>
  <pre><code>List&lt;Blog&gt; blogs = [
        Blog(
          title:
              &quot;She changed religion to marry the man of her dreams- Hamidah and Efraim’s classy Kwanjula &quot;,
          description:
              &quot;Right after their arrival, Efraim and a select few of his entourage went right into &quot;
              &quot;Hamidah’s parents’ house for the basic session of kwanula: to be accepted and born into this home. \n&quot;,
          author: &quot;James Arthur&quot;,
          date: &quot;09 Jan 20&quot;,
          views: 3899,
          comments: 23,
          imagePath: &quot;assets/images/intro.jpg&quot;,
          creditVendors: [
            {'Decorator': 'Parties &amp; Events'},
            {'Photography': 'Paramount Images'},
            {'Food': 'Spectrum Restaurant'},
            {'Juice': 'Dalausi Juice'},
            {'Bridal': 'Sheena Collections'},
          ],
        ),
  Blog(),
  Blog(),
       
  ];
  </code></pre>
  <p>So I want to call creditVendors values within another class on a different page. Below is the code to illustrate what I am trying to achieve.</p>
  <pre><code>Container(
                    height: 200.0,
                    child: ListView.builder(
                        itemCount: widget.blog.creditVendors.length,
                        itemBuilder: (BuildContext, int index) {
                          Blog blog = blogs[index];
  
                          return Row(
                            children: [
                              Text(blog.creditVendors.keys),
                              Text(blog.creditVendors.value),
                            ],
                          );
                        }),
                  )
  </code></pre>