title: Make Text widget shrink to longest line when text is wrapped to multiple lines
body: <p>Is it possible to shrink a <code>Text</code> widget to the width of the longest line when the text is wrapped because it becomes too long to fit on a single line?</p>
  <p>Basically I have this custom widget:</p>
  <pre><code>class MyWidget extends StatelessWidget {
    final String text1;
    final String text2;
  
    const MyWidget({Key? key, this.text1='', this.text2=''}) : super(key: key);
    
    @override
    Widget build(BuildContext context) {
      return Row(
        crossAxisAlignment: CrossAxisAlignment.start,              
        children: [
          Expanded(
            child: Container(
              color: Colors.lightBlue,
              child: Center(child: Text(text1))
            )
          ),
          Expanded(
            child: Container(
              color: Colors.lightGreen,
              alignment: Alignment.centerRight,
              child: Text(text2, textAlign: TextAlign.start)
            )
          )
        ]
      );
    }
  }
  </code></pre>
  <p>Here's what it looks like with one short and one long text:</p>
  <p><a href="https://i.stack.imgur.com/ccKHL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ccKHL.png" alt="enter image description here" /></a></p>
  <p>But what I want is this:</p>
  <p><a href="https://i.stack.imgur.com/EGUX8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EGUX8.png" alt="enter image description here" /></a></p>
  <p>Note that I do <strong>not</strong> want the text to be right-aligned - the wrapped lines should be aligned to the left, but the entire <code>Text</code> widget should shrink to the longest line.</p>