CustomCalendar constructor

const CustomCalendar({
  1. Key? key,
  2. DateTime? initialStartDate,
  3. DateTime? initialEndDate,
  4. dynamic startEndDateChange(
    1. DateTime,
    2. DateTime
    )?,
  5. DateTime? minimumDate,
  6. DateTime? maximumDate,
  7. required Color primaryColor,
  8. Color currentMonthDateColor = const Color(0xFF1F2937),
  9. Color rangeStripColor = const Color(0xFF3B82F6),
})

Implementation

const CustomCalendar({
  Key? key,
  this.initialStartDate,
  this.initialEndDate,
  this.startEndDateChange,
  this.minimumDate,
  this.maximumDate,
  required this.primaryColor,
  this.currentMonthDateColor = const Color(0xFF1F2937),
  this.rangeStripColor = const Color(0xFF3B82F6),
}) : super(key: key);