showChangeDateBottomSheet function
void
showChangeDateBottomSheet({ - required dynamic context,
- String? bottomSheetTitle,
- 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,
);
},
);
}