#10 Fixed gray background in timetable on days outside of given range
This commit is contained in:
@ -102,8 +102,8 @@ class _TimetableState extends State<Timetable> {
|
||||
view: CalendarView.workWeek,
|
||||
dataSource: _buildTableEvents(value),
|
||||
|
||||
maxDate: DateTime.now().add(const Duration(days: 7)),
|
||||
minDate: DateTime.now().subtract(const Duration (days: 14)),
|
||||
maxDate: DateTime.now().add(const Duration(days: 7)).nextWeekday(DateTime.saturday),
|
||||
minDate: DateTime.now().subtract(const Duration (days: 14)).nextWeekday(DateTime.sunday),
|
||||
|
||||
controller: controller,
|
||||
|
||||
|
Reference in New Issue
Block a user