CalendarCell constructor

const CalendarCell({
  1. Key? key,
  2. required Color themeColor,
  3. VoidCallback? onDateSelected,
  4. DateTime? currentDay,
  5. Widget? child,
  6. TextStyle? dateStyles,
  7. String? dayOfWeek,
  8. bool isEditMode = false,
  9. TextStyle? dayOfWeekStyle,
  10. bool isDayOfWeek = false,
  11. bool isSelected = false,
  12. Color? selectedColor,
  13. Color? todayColor,
  14. bool isBlankDay = false,
  15. List<String>? futurePeriodDays = const <String>[],
  16. List<String>? futureOvulationDays = const <String>[],
  17. List<String>? pastAllPeriodsDays = const <String>[],
  18. int cycleLength = defaultCycleLength,
  19. int periodDuration = defaultPeriodDuration,
  20. required Function multipleDateSelectionCallBack,
  21. String? previousPeriodDate = "",
})

Implementation

const CalendarCell(
    {super.key,
    required this.themeColor,
    this.onDateSelected,
    this.currentDay,
    this.child,
    this.dateStyles,
    this.dayOfWeek,
    this.isEditMode = false,
    this.dayOfWeekStyle,
    this.isDayOfWeek = false,
    this.isSelected = false,
    this.selectedColor,
    this.todayColor,
    this.isBlankDay = false,
    this.futurePeriodDays = const <String>[],
    this.futureOvulationDays = const <String>[],
    this.pastAllPeriodsDays = const <String>[],
    this.cycleLength = defaultCycleLength,
    this.periodDuration = defaultPeriodDuration,
    required this.multipleDateSelectionCallBack,
    this.previousPeriodDate = ""});