|
|
|
|
@ -200,7 +200,7 @@ class _DocAvailableAppointmentsState extends State<DocAvailableAppointments> wit
|
|
|
|
|
_events.forEach((key, value) {
|
|
|
|
|
final DateTime startTime = DateTime(key.year, key.month, key.day, 9, 0, 0);
|
|
|
|
|
final DateTime endTime = startTime.add(const Duration(hours: 2));
|
|
|
|
|
meetings.add(Meeting("", startTime, endTime, CustomColors.green, false));
|
|
|
|
|
meetings.add(Meeting("", startTime, endTime, CustomColors.green, false, ""));
|
|
|
|
|
});
|
|
|
|
|
return meetings;
|
|
|
|
|
}
|
|
|
|
|
@ -470,11 +470,12 @@ class MeetingDataSource extends CalendarDataSource {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class Meeting {
|
|
|
|
|
Meeting(this.eventName, this.from, this.to, this.background, this.isAllDay);
|
|
|
|
|
Meeting(this.eventName, this.from, this.to, this.background, this.isAllDay, this.notes);
|
|
|
|
|
|
|
|
|
|
String eventName;
|
|
|
|
|
DateTime from;
|
|
|
|
|
DateTime to;
|
|
|
|
|
Color background;
|
|
|
|
|
bool isAllDay;
|
|
|
|
|
String notes;
|
|
|
|
|
}
|
|
|
|
|
|