title: Prevent long single word string from going to new line flutter
body: <p>I have a very long string which I get from the user. However, the string does not utilize the space to the right. Is there any way by which the string will be hyphenated when reached at the end of its space and ONLY THEN go to the next line?</p>
  <p>Here is my code:</p>
  <pre><code>Widget getIconWithDesc (IconData iconData, Color iconColor) {
  return Flexible(
    child: Row(
      children: [
        Flexible(flex: 2, child: Icon(iconData, size: 60.0, color: iconColor)),
        const Flexible(flex: 1, child: SizedBox(width: 10.0,)),
        Flexible(flex:1, child: Text(widget.desc)),
      ],
    ),
  );}
  </code></pre>
  <p>I added the Flexible widget since the text was otherwise overflowing from the screen. However, though this prevented overflowing, the String doesn't take up space on the right. I tried to mess around with the flex values, but no luck.</p>
  <p><a href="https://i.stack.imgur.com/EGk4o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EGk4o.png" alt="Text goes to new line" /></a></p>