UIDayCalendar constructor
const
UIDayCalendar({
- required List source,
- required Widget? builder(
- BuildContext context,
- dynamic item
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
- DateTime? day,
- double height = 36,
- double labelWidth = 56,
- String startTimeKey = "startTime",
- String endTimeKey = "endTime",
- String titleKey = "name",
- String textKey = "text",
- String titleBuilder(
- dynamic data
- String textBuilder(
- dynamic data
- 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",
});