showChangeDateBottomSheet function

void showChangeDateBottomSheet({
  1. required dynamic context,
  2. String? bottomSheetTitle,
  3. required String calendarId,
})

Implementation

void showChangeDateBottomSheet({
  required BuildContext context,
  String? bottomSheetTitle,
  required String calendarId,
}) {
  showModalBottomSheet(
    showDragHandle: true,
    useSafeArea: true,
    context: context,
    constraints: const BoxConstraints(maxHeight: 500),
    builder: (context) {
      return ChangeDateSheet(
        bottomSheetTitle: bottomSheetTitle,
        calendarId: calendarId,
      );
    },
  );
}