CalendarEventModalOptions<T extends CalendarEvent> constructor

const CalendarEventModalOptions<T extends CalendarEvent>({
  1. List<CalendarModalInfoEntry? Function(T event, bool dialog)> infoEntryBuilders = const [],
  2. List<Widget? Function(T event, bool dialog)> bottomActionBuilders = const [],
  3. Widget? extraContentBuilder(
    1. T event,
    2. bool dialog
    )?,
  4. Future<bool> onClosePressed(
    1. T event
    )?,
  5. Future<bool> onEditPressed(
    1. T event
    )?,
  6. Future<bool> onDeletePressed(
    1. T event
    )?,
})

Implementation

const CalendarEventModalOptions({
  this.infoEntryBuilders = const [],
  this.bottomActionBuilders = const [],
  this.extraContentBuilder,
  this.onClosePressed,
  this.onEditPressed,
  this.onDeletePressed,
});