showBottomSheetDialog function
void
showBottomSheetDialog(
- BuildContext context,
- dynamic deleteCallback()
)
Implementation
void showBottomSheetDialog(BuildContext context, Function() deleteCallback) {
SizeConfig().init(context);
showModalBottomSheet(
context: context,
backgroundColor: Colors.transparent,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(15.0), topRight: Radius.circular(15.0)),
),
builder: (context) {
return BottomSheetDialog(deleteCallback);
});
}