title: Flutter chat text align like Whatsapp or Telegram
body: <p>I'm having trouble figuring this alignment with Flutter.</p>
  <p>The right conversion on Whatsapp or Telegram is left-aligned but the date is on the right. If there's space available for the date it is at the end of the same line.<a href="https://i.stack.imgur.com/uMoIY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uMoIY.jpg" alt="enter image description here" /></a></p>
  <p>The 1st and 3rd chat lines can be done with <code>Wrap()</code> widget. But the 2nd line is not possible with <code>Wrap()</code> since the chat text is a separate Widget and fills the full width and doesn't allow the date widget to fit. How would you do this with Flutter?</p>