showCustomDialog static method
Implementation
static showCustomDialog({
required BuildContext context,
required Widget content,
}) {
return showDialog(
context: context,
builder: (_) {
return ThemeWrapper(
builder: (colors, controller) {
return Dialog(
backgroundColor: colors.transparent,
insetPadding: EdgeInsets.symmetric(horizontal: 16.w),
child: content,
);
},
);
},
);
}