MonthlyCalendar constructor
MonthlyCalendar({
- required DateTime month,
- DateTime? selectedDate,
- DateTime? today,
- int firstDayOfWeek = DateTime.monday,
- bool showAdjacentMonths = false,
- Map<
DateTime, String> markers = const {}, - Style? headerStyle,
- Style? weekdayStyle,
- Style? dayStyle,
- Style? outsideStyle,
- Style? todayStyle,
- Style? selectedStyle,
- Color? markerColor,
- Key? key,
Creates a month calendar containing month.
Implementation
MonthlyCalendar({
required this.month,
this.selectedDate,
this.today,
this.firstDayOfWeek = DateTime.monday,
this.showAdjacentMonths = false,
this.markers = const {},
this.headerStyle,
this.weekdayStyle,
this.dayStyle,
this.outsideStyle,
this.todayStyle,
this.selectedStyle,
this.markerColor,
super.key,
}) : assert(firstDayOfWeek >= DateTime.monday),
assert(firstDayOfWeek <= DateTime.sunday);