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

Implementation

String get dayTimeName => DateHelper().dayTimeName(timestamp ?? -1);