showCustomDialog function
Future<void>
showCustomDialog({
- required BuildContext context,
- required Widget child,
- bool isFullScreen = false,
- double? width,
- double? height,
Implementation
Future<void> showCustomDialog({
required BuildContext context,
required Widget child,
bool isFullScreen = false,
double? width,
double? height,
}) async {
await showDialog(
context: context,
builder: (context) {
return XfdnDialog(
isFullScreen: isFullScreen,
width: width,
height: height,
child: child,
);
},
);
}