|
|
|
|
@ -445,7 +445,7 @@ class _BloodDonationBookAppointmentState extends State<BloodDonationBookAppointm
|
|
|
|
|
_events!.forEach((key, value) {
|
|
|
|
|
final DateTime startTime = DateTime(key.year, key.month, key.day, 9, 0, 0);
|
|
|
|
|
final DateTime endTime = startTime.add(const Duration(minutes: 20));
|
|
|
|
|
meetings.add(Meeting("", startTime, endTime, CustomColors.green, false));
|
|
|
|
|
meetings.add(Meeting("", startTime, endTime, CustomColors.green, false, ""));
|
|
|
|
|
});
|
|
|
|
|
return meetings;
|
|
|
|
|
}
|
|
|
|
|
@ -492,11 +492,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;
|
|
|
|
|
}
|