deleteAllDayEvent method

void deleteAllDayEvent(
  1. AllDayEvent<T> chip
)

Fires PlannerConfig.onEntryDelete for an all-day chip — the band's counterpart to deleteEvent, reached by the context menu or the chip's a11y "dismiss" action (#72).

Implementation

void deleteAllDayEvent(AllDayEvent<T> chip) =>
    config.onEntryDelete?.call(chip.entry);