CalendarCell constructor
const
CalendarCell({
- Key? key,
- required Color themeColor,
- VoidCallback? onDateSelected,
- DateTime? currentDay,
- Widget? child,
- TextStyle? dateStyles,
- String? dayOfWeek,
- bool isEditMode = false,
- TextStyle? dayOfWeekStyle,
- bool isDayOfWeek = false,
- bool isSelected = false,
- Color? selectedColor,
- Color? todayColor,
- bool isBlankDay = false,
- List<
String> ? futurePeriodDays = const <String>[], - List<
String> ? futureOvulationDays = const <String>[], - List<
String> ? pastAllPeriodsDays = const <String>[], - int cycleLength = defaultCycleLength,
- int periodDuration = defaultPeriodDuration,
- required Function multipleDateSelectionCallBack,
- 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 = ""});