title: Flutter : How to add a Header Row to a ListView
body: <p>Very new to Flutter.  I've been able to utilize HTTP requests for data, build a <code>ListView</code>, edit a Row in that List and other basics.  Excellent environment.</p>
  <p>I've managed to cobble together a badly constructed Header for a <code>ListView</code> but I know this isn't right.  I can't get the Header text to line up properly.</p>
  <p>I see that the <code>Drawer</code> Class has a <code>DrawerHeader</code> Class, but can't see that <code>ListView</code> has a <code>ListViewHeader</code>.</p>
  <pre class="lang-dart prettyprint-override"><code>@override
    Widget build(BuildContext context) {
      return Scaffold(
          appBar: AppBar(
            title: Text('Contacts'),
            actions: &lt;Widget&gt;[
              IconButton(icon: Icon(Icons.add_circle),
                  onPressed: getCustData
              ),
            ],
          ),
          //body:
          body: Column(
              children: &lt;Widget&gt;[
                Row(
                    children: &lt;Widget&gt;[
                      Expanded(child: Text('', style: TextStyle(height: 3.0, fontSize: 15.2, fontWeight: FontWeight.bold,))),
                      Expanded(child: Text('First Name', style:  TextStyle(height: 3.0, fontSize: 15.2, fontWeight: FontWeight.bold,))),
                      Expanded(child: Text('Last Name', style:  TextStyle(height: 3.0, fontSize: 15.2, fontWeight: FontWeight.bold,))),
                      Expanded(child: Text('City', style: TextStyle(height: 3.0, fontSize: 15.2, fontWeight: FontWeight.bold,))),
                      Expanded(child: Text('Customer Id', style: TextStyle(height: 3.0, fontSize: 15.2, fontWeight: FontWeight.bold,))),
                      Expanded(child: Text('', style: TextStyle(height: 3.0, fontSize: 15.2, fontWeight: FontWeight.bold,))),
                    ]
                ),
  
                Expanded(child:Container(
                  child: ListView.builder(
  
                    itemCount: data == null ? 0 : data.length,
                    itemBuilder: (BuildContext context, int index) {
  
                      return InkWell(
                        onTap: () {
                          Navigator.push(
                            context,
                            MaterialPageRoute(
                                builder: (context) =&gt; APIDetailView(data[index])),
                          );
                        },
  
                        child: ListTile(                //return new ListTile(
                            onTap: null,
                            leading: CircleAvatar(
                              backgroundColor: Colors.blue,
                              child: Text(data[index][&quot;FirstName&quot;][0]),
                            ),
                            title: Row(
                                children: &lt;Widget&gt;[
                                  Expanded(child: Text(data[index][&quot;FirstName&quot;])),
                                  Expanded(child: Text(data[index][&quot;LastName&quot;])),
                                  Expanded(child: Text(data[index][&quot;Bill_City&quot;])),
                                  Expanded(child: Text(data[index][&quot;Customer_Id&quot;])),
                                ]
                            )
                        ),
  
                      );
                    }, //itemBuilder
  
                  ),
                ),
              ),
            ]
          )
      );
    }
  }
  </code></pre>
  <p>Thanks.</p>
  <p><a href="https://i.stack.imgur.com/00bbc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/00bbc.png" alt="Output Screenshot" /></a></p>