title: How to format TimeOfDay to String in flutter
body: <p>I want to display the current time.
  Used TimeOfDay.Now() to get the current time,</p>
  
  <p><code>TimeOfDay _currentTime = TimeOfDay.now();</code></p>
  
  <p><code>Text("Current Time: ${_currentTime.toString()}")</code></p>
  
  <p>Used Text() widget to display time, but it displays TimeOfDay(22.30) instead of 10.30pm.</p>
  
  <p>How to remove TimeOfDay from TimeOfDay(22.30), want to display only 10.30pm.</p>