CalendarHour constructor

CalendarHour(
  1. int hour
)

Implementation

CalendarHour(this.hour) {
  text = "${hour.toString().padLeft(2, '0')}:00";
  isShift = hour < 8 || hour >= 18;
}