title: Can I add a trailing item to a ListView in Flutter?
body: <p>I want to create a dynamic listview, with the last Item being a fixed 'trailing' item not related to the dynamic list. </p>
  
  <p>For example this code </p>
  
  <pre><code>    class ListTest extends StatefulWidget {
  @override
    ListTestState createState() =&gt; ListTestState();
  }
  
  class ListTestState extends State&lt;ListTest&gt; {
    var myList = ['Item1','Item2','Item3','Item4','Item5','Item6','Item7','Item8','Item9',
      'Item10','Item11','Item12','Item13','Item14','Item15','Item16','Item17','Item18','Item19'];
    @override
    Widget build(BuildContext context) {
      return Column(
          children: &lt;Widget&gt; [Expanded(
            child: ListView.builder(
  
                itemCount: myList?.length,
                itemBuilder: (BuildContext content, int index) {
                  return ListTile(title: Text(myList[index], ) );
                },
            ),
          ),
            Text("Trailing item not related to the list"),
  
          ] );
    }
  }
  </code></pre>
  
  <p>generated this :- </p>
  
  <p><a href="https://i.stack.imgur.com/m6MN9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m6MN9.png" alt="enter image description here"></a></p>
  
  <p>What I want is the "Trailing item not related to the list" item to appear as if it were "Item20"!!</p>
  
  <p>I've also experimented with <code>ListView.seperated</code> but I can't get this to work as I wish either.</p>
  
  <p>Anyone have any ideas? I have a brain freeze. </p>