Calendar<T extends CalendarEvent> constructor
const
Calendar<T extends CalendarEvent> ({
- Key? key,
- required CalendarEventProvider<
T> eventProvider, - CalendarStyle<
T> style = const CalendarStyle(), - CalendarText text = const CalendarText(),
- CalendarEventModalOptions<
T> eventModalOptions = const CalendarEventModalOptions(), - CalendarViewProvider viewProvider = const CalendarViewProvider(),
- List<
CalendarQuickAction< extraActions = const [],T> > - Widget? extraContent,
- void onCreatePressed()?,
- DateTime? startShowingDate,
- void onShowingUpdate()?,
Implementation
const Calendar({
super.key,
required this.eventProvider,
this.style = const CalendarStyle(),
this.text = const CalendarText(),
this.eventModalOptions = const CalendarEventModalOptions(),
this.viewProvider = const CalendarViewProvider(),
this.extraActions = const [],
this.extraContent,
this.onCreatePressed,
this.startShowingDate,
this.onShowingUpdate,
});