I want to display the current time. Used TimeOfDay.Now() to get the current time,
TimeOfDay _currentTime = TimeOfDay.now();
Text("Current Time: ${_currentTime.toString()}")
Used Text() widget to display time, but it displays TimeOfDay(22.30) instead of 10.30pm.
How to remove TimeOfDay from TimeOfDay(22.30), want to display only 10.30pm.