CalendarDateCell constructor

const CalendarDateCell({
  1. Key? key,
  2. required int i,
  3. BoxDecoration? defaultDecoration,
  4. Widget? defaultChild,
  5. Widget? userSelectedItemStyle,
  6. BoxDecoration? userPickedDecoration,
  7. Widget? userPickedChild,
  8. EdgeInsets? cellPadding,
})

Creates a date cell for the calendar with customizable styling and content.

i is the day number (1-based). The other parameters allow customization of decorations and child widgets for default, picked, and selected states.

Implementation

const CalendarDateCell({
  super.key,
  required this.i,
  this.defaultDecoration,
  this.defaultChild,
  this.userSelectedItemStyle,
  this.userPickedDecoration,
  this.userPickedChild,
  this.cellPadding,
});