show static method
Future<void>
show(
- BuildContext context, {
- required CalendarEvent event,
- VoidCallback? onEdit,
- VoidCallback? onDelete,
Shows this popup as a modal bottom sheet.
Implementation
static Future<void> show(
BuildContext context, {
required CalendarEvent event,
VoidCallback? onEdit,
VoidCallback? onDelete,
}) {
return showModalBottomSheet(
context: context,
isScrollControlled: true,
showDragHandle: true,
builder: (_) =>
EventPopup(event: event, onEdit: onEdit, onDelete: onDelete),
);
}