title: Assigning specific items in ListViewBuilder for certain values of index
body: <p>I have implemented a standard ListViewBuilder. My objective is to set some properties according to the index, for example if the index is equal to (item count - 1), i.e end of the list, i want Text to be displayed, i haven't been able to do that. Any help is appreciated. Here is my Code:</p>
  <pre><code>              Container(
                          height: 500,
                          width: double.infinity,
                          child: ListView.builder(
                            itemCount: 6,
                            padding: EdgeInsets.symmetric(vertical: 0.0),
                            itemBuilder: (context, index) {
                              if (index &lt;= 5) {
                                return ListCard().buildListCard();
                              }
                              return Container(
                                  child: Text(&quot;FIN&quot;),
                                  height: 50,
                                  width: double.infinity);
                            },
                          ),
                        )
  </code></pre>
  <p><a href="https://drive.google.com/file/d/1sW7-9CmXx_kx0Gs3QrOrIwQTrHep5AFL/view?usp=sharing" rel="nofollow noreferrer">Output Image</a></p>