getDayNumberColor method

Color getDayNumberColor(
  1. DateTime date
)

Implementation

Color getDayNumberColor(DateTime date) {
  Color color = Colors.transparent;
  if (isCurrentDate(date)) {
    color = currentDateColor;
  } else if (highlightedDates != null &&
      isHighlightedDate(date, highlightedDates)) {
    color = highlightedDateColor ?? color;
  }
  return color;
}