EventDecoration constructor

const EventDecoration({
  1. BoxDecoration? boxDecoration,
  2. TextStyle? textStyle,
})

Creates decoration for special day.

Used for EventDecorationBuilder function which is usually passed to DayPicker.eventDecorationBuilder, WeekPicker.eventDecorationBuilder and RangePicker.eventDecorationBuilder to set specific decoration for some days.

Implementation

const EventDecoration({this.boxDecoration, this.textStyle});