CalendarView constructor

CalendarView({
  1. Key? key,
  2. Map<String, dynamic>? dateMap,
  3. Color? titleColor,
  4. IconData? previousIconData,
  5. IconData? nextIconData,
  6. Color? selectedColor,
  7. Color? subTitleDisableColor,
  8. Color? subTitleEnableColor,
  9. Color? subTitleFutureColor,
  10. required dynamic onSelectedDateTime(
    1. bool,
    2. DateTime
    ),
  11. DateTime? currentDateTime,
  12. bool showExpandMore = false,
  13. required DateTime startDateTime,
  14. required DateTime endDateTime,
  15. EdgeInsets? insets,
  16. String? previousTitle,
  17. String? nextTitle,
  18. CalendarMode? defaultMode = CalendarMode.month,
  19. DateFormat? format = DateFormat.y_m,
  20. ControlAlign? align = ControlAlign.bottom,
  21. 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);