title: How to draw a horizontal line in flutter row widgets?
body: <p>In my flutter project, I have initialized a Row. Inside that, I created some Texts in a column and after that, I want to add a line but it is not showing anything. I have used Expanded for that reason and followed the given solutions-</p>
  
  <p><a href="https://stackoverflow.com/questions/54058228/horizontal-divider-with-text-in-the-middle-in-flutter">Horizontal divider with text in the middle in Flutter?</a></p>
  
  <p>But none of them worked either.</p>
  
  <p>Here's the image of my code output-</p>
  
  <p><a href="https://i.stack.imgur.com/4sNQT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4sNQT.png" alt="enter image description here"></a></p>
  
  <p>Here's my code-</p>
  
  <pre><code>Container(
        color:Colors.white,
        child: (
          Row(
            children: &lt;Widget&gt;[
              Padding(
                padding: const EdgeInsets.all(8.0),
                child: Image(
                    height: 100,
                    width: 100,
                    image: NetworkImage("https://www.gstatic.com/webp/gallery/1.jpg"),
                  ),
              ),
              Column(
                children: &lt;Widget&gt;[
                  Text("Book Name"),
                  Text("Author name"),
  
                  Divider(
                    color: Colors.black,
                  )
                ],
              )
            ],
          )
        ),
      ),
  </code></pre>
  
  <p>So, I need a line below the two texts and show it like the below picture-</p>
  
  <p><a href="https://i.stack.imgur.com/e4T13.png" rel="noreferrer"><img src="https://i.stack.imgur.com/e4T13.png" alt="enter image description here"></a></p>