configurePaints method

void configurePaints()

Implementation

void configurePaints() {
  _gridPaint
    ..color = style.gridColor
    ..strokeWidth = style.gridStrokeWidth
    ..style = PaintingStyle.stroke;

  _gridMonthLinePaint
    ..color = style.gridMonthLineColor
    ..strokeWidth = style.gridMonthLineStrokeWidth
    ..style = PaintingStyle.stroke;

  // Headers
  _headerBgPaint
    ..color = style.headerBackgroundColor
    ..style = PaintingStyle.fill;

  _monthHeaderBgPaint
    ..color = style.monthHeaderBackgroundColor
    ..style = PaintingStyle.fill;

  _weekHeaderBgPaint
    ..color = style.weekHeaderBackgroundColor
    ..style = PaintingStyle.fill;
}