dayTimeName property
String
get
dayTimeName
Time Names in day
'Early morning' 4 -> 6
'Morning' 7-> 11
'Noon' 12 -> 12
'Afternoon' 13 -> 17
'Evening' 18 -> 20
'Night', 21 -> 23
'Midnight' 0 -> 3 Determines the time of day based on the given hour.
@param hour The hour of the day (in 24-hour format). @return A string representing the time of day.
Implementation
String get dayTimeName => DateHelper().dayTimeName(millisecondsSinceEpoch);