DayPartController constructor

DayPartController({
  1. List<DayPartInfo> listDayParts = const [DayPartInfo(dayPart: DayParts.morning, start: 5, end: 12), DayPartInfo(dayPart: DayParts.afternoon, start: 12, end: 18), DayPartInfo(dayPart: DayParts.evening, start: 18, end: 22), DayPartInfo(dayPart: DayParts.night, start: 22, end: 5)],
})

Implementation

DayPartController({
  this.listDayParts = const [
    DayPartInfo(dayPart: DayParts.morning, start: 5, end: 12),
    DayPartInfo(dayPart: DayParts.afternoon, start: 12, end: 18),
    DayPartInfo(dayPart: DayParts.evening, start: 18, end: 22),
    DayPartInfo(dayPart: DayParts.night, start: 22, end: 5),
  ],
});