title: Increasing the index of the ListView Builder by two in Flutter
body: <p>I want to place two list tiles in a single row. How can I increase the increment of the index in Flutter by two in each iteration?</p>
  
  <p><img src="https://i.stack.imgur.com/xLEti.jpg" alt="enter image description here"></p>
  
  <p>In the below code, as you can see, I am trying to use two lists in a row, and then I want the index to be <code>index+2</code>. But, by default, the index is increased by <code>index+1</code>. </p>
  
  <p><strong>How do I increment it by two?</strong> </p>
  
  <pre><code>body: ListView.builder(
      itemCount: song.length - 1,
      itemBuilder: (BuildContext ctxt, int index) {
        return Row(
          children: &lt;Widget&gt;[
            Expanded(
              flex: 1,
              child: ListTile(
                title: Text(song[index]),
                subtitle: Text(singer[index]),
                trailing: Text(time[index]),
                onTap: () {
                  Navigator.push(
                    context,
                    MaterialPageRoute(
                      builder: (context) =&gt; Player(
                        song[index],
                        singer[index],
                        time[index],
                      ),
                    ),
                  );
                },
              ),
            ),
            Expanded(
              flex: 1,
              child: ListTile(
                title: Text(song[index+1]),
                subtitle: Text(singer[index+1]),
                trailing: Text(time[index+1]),
                onTap: () {
                  Navigator.push(
                    context,
                    MaterialPageRoute(
                      builder: (context) =&gt; Player(
                        song[index+1],
                        singer[index+1],
                        time[index+1],
                      ),
                    ),
                  );
                },
              ),
            ),
          ],
        );
      },
    ),
  </code></pre>