showCustomDialog method
void
showCustomDialog({
- required BuildContext context,
- Widget? title,
- Widget? content,
- List<
Widget> ? actions,
Shows a custom dialog with fully customizable widgets
Implementation
void showCustomDialog({
required BuildContext context,
Widget? title,
Widget? content,
List<Widget>? actions,
}) {
showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
title: title,
content: content,
actions: actions,
);
},
);
}