CalendarView constructor
CalendarView({
- Key? key,
- Map<
String, dynamic> ? dateMap, - Color? titleColor,
- IconData? previousIconData,
- IconData? nextIconData,
- Color? selectedColor,
- Color? subTitleDisableColor,
- Color? subTitleEnableColor,
- Color? subTitleFutureColor,
- required dynamic onSelectedDateTime(),
- DateTime? currentDateTime,
- bool showExpandMore = false,
- required DateTime startDateTime,
- required DateTime endDateTime,
- EdgeInsets? insets,
- String? previousTitle,
- String? nextTitle,
- CalendarMode? defaultMode = CalendarMode.month,
- DateFormat? format = DateFormat.y_m,
- ControlAlign? align = ControlAlign.bottom,
- Color? iconColor,
Implementation
CalendarView({
Key? key,
this.dateMap,
this.titleColor,
this.previousIconData,
this.nextIconData,
this.selectedColor,
this.subTitleDisableColor,
this.subTitleEnableColor,
this.subTitleFutureColor,
required this.onSelectedDateTime,
this.currentDateTime,
this.showExpandMore = false,
required this.startDateTime,
required this.endDateTime,
this.insets,
this.previousTitle,
this.nextTitle,
this.defaultMode = CalendarMode.month,
this.format = DateFormat.y_m,
this.align = ControlAlign.bottom,
this.iconColor,
}) : super(key: key);