UIDayCalendar constructor

const UIDayCalendar({
  1. required List source,
  2. required Widget? builder(
    1. BuildContext context,
    2. dynamic item
    ),
  3. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  4. DateTime? day,
  5. double height = 36,
  6. double labelWidth = 56,
  7. String startTimeKey = "startTime",
  8. String endTimeKey = "endTime",
  9. String titleKey = "name",
  10. String textKey = "text",
  11. String titleBuilder(
    1. dynamic data
    )?,
  12. String textBuilder(
    1. dynamic data
    )?,
  13. String allDayKey = "allDay",
})

Implementation

const UIDayCalendar({
  required this.source,
  required this.builder,
  this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  this.day,
  this.height = 36,
  this.labelWidth = 56,
  this.startTimeKey = "startTime",
  this.endTimeKey = "endTime",
  this.titleKey = "name",
  this.textKey = "text",
  this.titleBuilder,
  this.textBuilder,
  this.allDayKey = "allDay",
});