CircularCell constructor

const CircularCell({
  1. Key? key,
  2. required DateTime date,
  3. List<CalendarEventData<Object?>> events = const [],
  4. bool shouldHighlight = false,
  5. Color backgroundColor = Colors.blue,
  6. Color highlightedTitleColor = Constants.white,
  7. Color titleColor = Constants.black,
})

This class will defines how cell will be displayed. To get proper view user CircularCell with 1 MonthView.cellAspectRatio.

Implementation

const CircularCell({
  Key? key,
  required this.date,
  this.events = const [],
  this.shouldHighlight = false,
  this.backgroundColor = Colors.blue,
  this.highlightedTitleColor = Constants.white,
  this.titleColor = Constants.black,
}) : super(key: key);