getEventStyle method

CalendarEventStyle getEventStyle(
  1. T event
)

Implementation

CalendarEventStyle getEventStyle(T event) {
  if (eventStyleProvider != null) {
    return eventStyleProvider!(event, this);
  }
  return CalendarEventStyle(
    color: primaryColorContrast,
    backgroundColor: primaryColor,
  );
}